From: Denis Khalikov Date: Thu, 20 Oct 2016 18:04:12 +0000 (+0300) Subject: removed -flto flag X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=becccb57b98f57e1d14fe0763c30cc668b70315d;p=platform%2Fupstream%2Fpython3.git removed -flto flag --- diff --git a/packaging/python3.spec b/packaging/python3.spec index a082080f..dd992a5c 100644 --- a/packaging/python3.spec +++ b/packaging/python3.spec @@ -156,6 +156,15 @@ done ### COMMON-PREP-END ### %build + +%ifarch aarch64 +CFLAGS=$( echo $CFLAGS | sed -e "s/-flto//g") +%endif + +%ifarch armv7l +CFLAGS=$( echo $CFLAGS | sed -e "s/-flto//g") +%endif + export SUSE_ASNEEDED=0 export OPT="%{optflags} -DOPENSSL_LOAD_CONF"