Index: generate_gypi.sh |
diff --git a/generate_gypi.sh b/generate_gypi.sh |
index 156515c48f09d44fe605f1c03d90f61f520d6298..e5323e14295eea3fd6ea2e06bb55bfdc022caac8 100755 |
--- a/generate_gypi.sh |
+++ b/generate_gypi.sh |
@@ -80,6 +80,15 @@ function write_target_definition { |
echo " ]," >> $2 |
if [[ $4 == fpu=neon ]]; then |
echo " 'cflags!': [ '-mfpu=vfpv3-d16' ]," >> $2 |
+ echo " 'conditions': [" >> $2 |
+ echo " # Disable LTO in neon targets due to compiler bug" >> $2 |
Nico
2014/08/29 14:30:41
Should this link to some tracking bug so that it's
Fabrice (no longer in Chrome)
2014/08/29 14:45:00
Done.
|
+ echo " ['use_lto==1', {" >> $2 |
+ echo " 'cflags!': [" >> $2 |
+ echo " '-flto'," >> $2 |
+ echo " '-ffat-lto-objects'," >> $2 |
+ echo " ]," >> $2 |
+ echo " }]," >> $2 |
+ echo " ]," >> $2 |
fi |
echo " 'cflags': [ '-m$4', ]," >> $2 |
echo " 'xcode_settings': { 'OTHER_CFLAGS': [ '-m$4' ] }," >> $2 |