Remove -flto flag sandbox/denis13/LTO
authorDenis Khalikov <d.khalikov@partner.samsung.com>
Mon, 6 Feb 2017 16:33:53 +0000 (19:33 +0300)
committerDenis Khalikov <d.khalikov@partner.samsung.com>
Mon, 6 Feb 2017 16:33:53 +0000 (19:33 +0300)
packaging/bash.spec

index 6e805961cde9758c597aa52820e6ab21c9919b41..f1537056ba223a0aca2aa781e0574f923e61b45f 100644 (file)
@@ -31,6 +31,7 @@ incorporates useful features from the Korn shell (ksh) and the C shell
 cp %{SOURCE1001} .
 
 %build
+CFLAGS=$( echo $CFLAGS | sed -e "s/-flto//g" )
 %configure --enable-largefile \
             --without-bash-malloc \
             --disable-nls \