summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Khalikov <d.khalikov@partner.samsung.com>2016-10-30 19:30:04 +0300
committerDenis Khalikov <d.khalikov@partner.samsung.com>2016-10-30 19:30:04 +0300
commit900ec1e14ea107c99a333c3b4211c32fb4b78c60 (patch)
tree6b0bdf656a90d2667f88f078a5bab8731029f578
parent9bb7e72363687e295faeb4a0e9b00cf2adc549cb (diff)
downloadpython-sandbox/denis13/ffatLTO.tar.gz
python-sandbox/denis13/ffatLTO.tar.bz2
python-sandbox/denis13/ffatLTO.zip
removed -flto flagsandbox/denis13/ffatLTO
-rw-r--r--packaging/python.spec15
1 files changed, 8 insertions, 7 deletions
diff --git a/packaging/python.spec b/packaging/python.spec
index b8fd877..187278f 100644
--- a/packaging/python.spec
+++ b/packaging/python.spec
@@ -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 \