removed -flto flag sandbox/denis13/LTO
authorDenis Khalikov <d.khalikov@partner.samsung.com>
Sun, 30 Oct 2016 12:59:59 +0000 (15:59 +0300)
committerDenis Khalikov <d.khalikov@partner.samsung.com>
Sun, 30 Oct 2016 12:59:59 +0000 (15:59 +0300)
packaging/scons.spec

index c4725097430fe47ca5a9f7d2e6494025a4b35b6e..35fb333ea1a6a45eba683529061759462103614b 100644 (file)
@@ -38,7 +38,8 @@ full power of Python to control compilation.
 cp %{SOURCE1001} .
 
 %build
-export CFLAGS="$RPM_OPT_FLAGS"
+CFLAGS="$RPM_OPT_FLAGS"
+CFLAGS=$( echo $CFLAGS | sed -e "s/-flto//g")
 python setup.py build
 
 %install