summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi20
1 files changed, 6 insertions, 14 deletions
diff --git a/build/common.gypi b/build/common.gypi
index edcd4e4..cc3d232 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -242,6 +242,11 @@
'cflags': [
'<(werror)', # See note above about the werror variable.
'-pthread',
+ '-fno-exceptions',
+ '-Wall',
+ ],
+ 'cflags_cc': [
+ '-fno-threadsafe-statics',
],
'ldflags': [
'-pthread',
@@ -355,15 +360,7 @@
},
},
'conditions': [
- [ 'target_arch=="arm"', {
- 'cflags': [
- '-fno-exceptions',
- '-Wall',
- ],
- 'cflags_cc': [
- '-fno-threadsafe-statics',
- ],
- }, { # else: target_arch != "arm"
+ [ 'target_arch!="arm"', {
'asflags': [
# Needed so that libs with .s files (e.g. libicudata.a)
# are compatible with the general 32-bit-ness.
@@ -405,11 +402,6 @@
],
'cflags': [
'-m32',
- '-fno-exceptions',
- '-Wall',
- ],
- 'cflags_cc': [
- '-fno-threadsafe-statics',
],
'ldflags': [
'-m32',