From: Denis Khalikov Date: Wed, 8 Feb 2017 15:12:34 +0000 (+0300) Subject: Remove -flto, can't be build with lto X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Fsandbox%2Fdenis13%2FLTO;p=platform%2Fupstream%2Fmono.git Remove -flto, can't be build with lto --- diff --git a/packaging/mono.spec b/packaging/mono.spec index ab5a92f2..8682861e 100644 --- a/packaging/mono.spec +++ b/packaging/mono.spec @@ -330,7 +330,8 @@ rm -rf mcs/class/lib/monolite/* %build export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" - +export CFLAGS=$(echo $CFLAGS | sed -e "s/-flto//g") +export CXXFLAGS=$(echo $CXXFLAGS | sed -e "s/-flto//g") %configure --disable-rpath \ --with-moonlight=no