diff --git a/media-video/ffmpeg/ffmpeg7-7.1.2.recipe b/media-video/ffmpeg/ffmpeg7-7.1.2.recipe index 06063331e..59b602400 100644 --- a/media-video/ffmpeg/ffmpeg7-7.1.2.recipe +++ b/media-video/ffmpeg/ffmpeg7-7.1.2.recipe @@ -240,7 +240,7 @@ BUILD() cc="gcc${gccSuffix/_/-}" ccArgs="--cc=$cc --cxx=g++${secondaryArchSuffix/_/-} --ld=gcc${secondaryArchSuffix/_/-} - --host-ld=gcc${secondaryArchSuffix/_/-}" + --host-ld=gcc${secondaryArchSuffix/_/-} --extra-cflags=-fno-builtin-popcount" # Hack up base headers to make them think we're on GCC2 ABI mkdir -p include_hacks include_hacks/os include_hacks/config @@ -257,7 +257,7 @@ BUILD() baseLDFLAGS="-B/system/bin/${gccSuffix/_/}" ccArgs="$ccArgs --host-ldflags=\"${baseLDFLAGS}\"" - export CFLAGS="-isystem$(pwd) -isystem$(pwd)/os -isystem$(pwd)/config -fno-builtin-popcount" + export CFLAGS="-isystem$(pwd) -isystem$(pwd)/os -isystem$(pwd)/config" export LDFLAGS="$baseLDFLAGS $(pwd)/gcc_runtime.o" extraArgs="--disable-asm" else