Fix: change -fpic to -fPIC

pull/209/head
xufuji456 3 years ago
parent 6b0c2836ec
commit 1c1761cb6b
  1. 2
      shell/ffmpeg/build_ffmpeg_mp3.sh
  2. 2
      shell/ffmpeg/build_ffmpeg_one.sh
  3. 2
      shell/ffmpeg/build_ffmpeg_x264.sh

@ -36,7 +36,7 @@ export PREFIX=../ffmpeg-android/$ABI
export ADDITIONAL_CONFIGURE_FLAG="--cpu=$NATIVE_CPU" export ADDITIONAL_CONFIGURE_FLAG="--cpu=$NATIVE_CPU"
LAMEDIR=$PREFIX LAMEDIR=$PREFIX
export EXTRA_CFLAGS="-Os -fpic $OPTIMIZE_CFLAGS -I$LAMEDIR/include" export EXTRA_CFLAGS="-Os -fPIC $OPTIMIZE_CFLAGS -I$LAMEDIR/include"
export EXTRA_LDFLAGS="-lc -lm -ldl -llog -lgcc -lz -L$LAMEDIR/lib" export EXTRA_LDFLAGS="-lc -lm -ldl -llog -lgcc -lz -L$LAMEDIR/lib"
build_one(){ build_one(){

@ -38,7 +38,7 @@ export PREFIX=../ffmpeg-android/$ABI
export ADDITIONAL_CONFIGURE_FLAG="--cpu=$NATIVE_CPU" export ADDITIONAL_CONFIGURE_FLAG="--cpu=$NATIVE_CPU"
LAMEDIR=$PREFIX LAMEDIR=$PREFIX
export EXTRA_CFLAGS="-Os -fpic $OPTIMIZE_CFLAGS -I$LAMEDIR/include" export EXTRA_CFLAGS="-Os -fPIC $OPTIMIZE_CFLAGS -I$LAMEDIR/include"
export EXTRA_LDFLAGS="-lc -lm -ldl -llog -lgcc -lz -L$LAMEDIR/lib" export EXTRA_LDFLAGS="-lc -lm -ldl -llog -lgcc -lz -L$LAMEDIR/lib"
build_one(){ build_one(){

@ -36,7 +36,7 @@ export PREFIX=../ffmpeg-android/$ABI
export ADDITIONAL_CONFIGURE_FLAG="--cpu=$NATIVE_CPU" export ADDITIONAL_CONFIGURE_FLAG="--cpu=$NATIVE_CPU"
X264DIR=$PREFIX X264DIR=$PREFIX
export EXTRA_CFLAGS="-Os -fpic $OPTIMIZE_CFLAGS -I$X264DIR/include" export EXTRA_CFLAGS="-Os -fPIC $OPTIMIZE_CFLAGS -I$X264DIR/include"
export EXTRA_LDFLAGS="-lc -lm -ldl -llog -lgcc -lz -L$X264DIR/lib" export EXTRA_LDFLAGS="-lc -lm -ldl -llog -lgcc -lz -L$X264DIR/lib"
build_one(){ build_one(){

Loading…
Cancel
Save