removed -flto flag sandbox/denis13/ffatLTO
authorDenis Khalikov <d.khalikov@partner.samsung.com>
Sun, 30 Oct 2016 16:30:04 +0000 (19:30 +0300)
committerDenis Khalikov <d.khalikov@partner.samsung.com>
Sun, 30 Oct 2016 16:30:04 +0000 (19:30 +0300)
packaging/python.spec

index b8fd8771189d30ba136ffd0c0a335a196efb0d46..187278fecf0e86fc3749d6a2a53c7e9b7befdc8f 100644 (file)
@@ -106,13 +106,14 @@ autoreconf -f -i . # Modules/_ctypes/libffi
 # python installation
 touch Parser/asdl* Python/Python-ast.c Include/Python-ast.h
 
-%ifarch armv7l
-CFLAGS+=" -ffat-lto-objects "
-%endif
-
-%ifarch aarch64
-CFLAGS+=" -ffat-lto-objects "
-%endif
+#%ifarch armv7l
+#CFLAGS+=" -ffat-lto-objects "
+#%endif
+
+#%ifarch aarch64
+#CFLAGS+=" -ffat-lto-objects "
+#%endif
+CFLAGS=$ echo $CFLAGS | sed -e "s/-flto//g")
 %configure \
     --docdir=%{_docdir}/python \
     --enable-ipv6 \