diff options
Diffstat (limited to 'packaging/libmm-radio.spec')
-rwxr-xr-x | packaging/libmm-radio.spec | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packaging/libmm-radio.spec b/packaging/libmm-radio.spec index 29f8a6e..691b5d3 100755 --- a/packaging/libmm-radio.spec +++ b/packaging/libmm-radio.spec @@ -38,7 +38,9 @@ cp %{SOURCE1001} . #export use_gstreamer_1=1 #CFLAGS=" %{optflags} -Wall -DGST_EXT_TIME_ANALYSIS -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" $GSTREAMER_API"; export CFLAGS; -CFLAGS=" %{optflags} -Wall -DGST_EXT_TIME_ANALYSIS -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" -Werror"; export CFLAGS; +CFLAGS=" %{optflags} -Wall -DGST_EXT_TIME_ANALYSIS -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" -Werror"; +CFLAGS=$( echo $CFLAGS | sed -e "s/-flto//g") +export CFLAGS; %configure \ --enable-emulator \ |