summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build/common.gypi12
1 files changed, 9 insertions, 3 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 7efdf06..910b990 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -328,12 +328,18 @@
# used during computation does not change depending on how the
# compiler optimized the code, since the value is always kept
# in its specified precision.
+ 'conditions': [
+ ['branding=="Chromium"', {
+ 'cflags': [
+ '-march=pentium4',
+ '-msse2',
+ '-mfpmath=sse',
+ ],
+ }],
+ ],
'cflags': [
'-m32',
- '-march=pentium4',
'-fno-exceptions',
- '-msse2',
- '-mfpmath=sse',
'-Wall',
],
'ldflags': [