diff options
author | Vyacheslav Barinov <v.barinov@samsung.com> | 2014-08-13 13:08:34 +0400 |
---|---|---|
committer | Vyacheslav Barinov <v.barinov@samsung.com> | 2014-08-21 17:29:10 +0400 |
commit | 4eb6a8e3a0580f709ea948a4054e99d336832d48 (patch) | |
tree | a67b02aafda046f3449a3462d3d574e4d69b30f1 | |
parent | ade6f21c8d2a0676e68bbb9ead0220c87a4cc695 (diff) | |
download | cairo-tizen_3.0.2014.q4_common.tar.gz cairo-tizen_3.0.2014.q4_common.tar.bz2 cairo-tizen_3.0.2014.q4_common.zip |
Fixing build for GCC 4.9HEADtizen_3.0_ivi_releasetizen_3.0.m14.3_ivi_releasetizen_3.0.2014.q3_common_releasesubmit/tizen_mobile/20141120.000000submit/tizen/20141002.004835accepted/tizen/ivi/20141006.114614accepted/tizen/common/20141002.100421tizen_3.0_ivitizen_3.0.m14.3_ivitizen_3.0.2015.q2_commontizen_3.0.2015.q1_commontizen_3.0.2014.q4_commontizen_3.0.2014.q3_commontizenaccepted/tizen_wearableaccepted/tizen_tvaccepted/tizen_mobileaccepted/tizen_iviaccepted/tizen_commonaccepted/tizen_3.0_iviaccepted/tizen_3.0.m14.3_iviaccepted/tizen_3.0.2014.q3_common
Build fails without fat-lto-object:
https://code.google.com/p/chromium/issues/detail?id=360604
Switched off lto for aarch64 because of low mem: current OBS worker does not
have enough RAM to perform an LTO for AArch64 cairo build.
Change-Id: Iea99e837ff301a37a67dd18074d518d948ee6437
Signed-off-by: Vyacheslav Barinov <v.barinov@samsung.com>
-rw-r--r-- | packaging/cairo.spec | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/packaging/cairo.spec b/packaging/cairo.spec index 720b9c5..f5ef9b4 100644 --- a/packaging/cairo.spec +++ b/packaging/cairo.spec @@ -130,6 +130,14 @@ export RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed s'/atom/i686/g'` export CFLAGS=`echo $CFLAGS | sed s'/atom/i686/g'` export CXXFLAGS=`echo $CXXFLAGS | sed s'/atom/i686/g'` +export CFLAGS+=" -ffat-lto-objects" +export CXXFLAGS+=" -ffat-lto-objects" + +%ifarch aarch64 +export CFLAGS="$CFLAGS -fno-lto" +export CXXFLAGS="$CXXFLAGS -fno-lto" +%endif + # Needed by patch0 NOCONFIGURE=1 ./autogen.sh %configure \ |