Skip to content

Commit ee433c9

Browse files
committed
converts assembler files using modern GNU as syntax
1 parent ccddf27 commit ee433c9

File tree

4 files changed

+1218
-1
lines changed

4 files changed

+1218
-1
lines changed

configs/ffconfig/auto-detect-third-libs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ THIRD_CFG_FLAGS="$THIRD_CFG_FLAGS --target-os=$MR_TAGET_OS"
170170
# x86_64, arm64
171171
THIRD_CFG_FLAGS="$THIRD_CFG_FLAGS --enable-pic"
172172
THIRD_CFG_FLAGS="$THIRD_CFG_FLAGS --enable-neon"
173-
THIRD_CFG_FLAGS="$THIRD_CFG_FLAGS --enable-asm"
173+
THIRD_CFG_FLAGS="$THIRD_CFG_FLAGS --enable-asm --enable-inline-asm"
174174

175175
if [[ "$MR_DEBUG" == "debug" ]]; then
176176
THIRD_CFG_FLAGS="$THIRD_CFG_FLAGS --disable-optimizations"

do-compile/apple/ffmpeg.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ else
6969
./configure \
7070
$CFG_FLAGS \
7171
--cc="$MR_CC" \
72+
--as="perl ${MR_GAS_PERL} -arch ${MR_ARCH} -- $MR_CC" \
7273
--extra-cflags="$C_FLAGS" \
7374
--extra-cxxflags="$C_FLAGS" \
7475
--extra-ldflags="$LDFLAGS"

main.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ THIS_DIR=$(DIRNAME=$(dirname "$0"); cd "$DIRNAME"; pwd)
2323
cd "$THIS_DIR"
2424
export MR_SHELL_ROOT_DIR="$THIS_DIR"
2525
export MR_SHELL_TOOLS_DIR="${THIS_DIR}/tools"
26+
export MR_GAS_PERL=${MR_SHELL_TOOLS_DIR}/gas-preprocessor.pl
2627
export MR_SHELL_CONFIGS_DIR="${THIS_DIR}/configs"
2728

2829
function elapsed()

0 commit comments

Comments
 (0)