From 5a8f6bd13ca8120ec50b2aa21873e0db4564bcb2 Mon Sep 17 00:00:00 2001 From: Denis Khalikov Date: Fri, 16 Dec 2016 11:59:06 +0300 Subject: [PATCH] removed -flto --- packaging/libvpx.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packaging/libvpx.spec b/packaging/libvpx.spec index a1aa1c6..d7376b3 100644 --- a/packaging/libvpx.spec +++ b/packaging/libvpx.spec @@ -54,6 +54,9 @@ sed -e 's|CROSS=".*"|CROSS=""|g' -i ./build/make/configure.sh cd build export CFLAGS="%{optflags}" + +export CFLAGS=$( echo $CFLAGS | sed -e "s/-flto//g") +export CXXFLAGS=$( echo $CXXFLAGS | sed -e "s/-flto//g") # It is only an emulation of autotools configure; the macro does not work # libvpx default enable NEON support on ARMv7, unfortunately some ARMv7 -- 2.7.4