move -m32 flag for ia32 targets from standalone.gypi to common.gypi
authorjkummerow@chromium.org <jkummerow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 1 Sep 2011 11:50:29 +0000 (11:50 +0000)
committerjkummerow@chromium.org <jkummerow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 1 Sep 2011 11:50:29 +0000 (11:50 +0000)
so that we no longer depend on Chromium setting this flag.

BUG=v8:1648

Review URL: http://codereview.chromium.org/7830004

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9095 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

build/common.gypi
build/standalone.gypi

index 834516ffd4b1a198d7de4528fa4182d25e7c8f72..9b32608178f0c744dd52c484506369ed33cc131c 100644 (file)
           },
         },
       }],
+      ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
+        'conditions': [
+          [ 'target_arch=="ia32"', {
+            'cflags': [ '-m32' ],
+            'ldflags': [ '-m32' ],
+          }],
+        ],
+      }],
     ],
     'configurations': {
       'Debug': {
index 81909f19a865818cb6b4c6a17232ecdec091cbe3..cb5e1330397b4cc3ffe134ad2e5df1dd134e8a29 100644 (file)
                     '-fno-exceptions', '-pedantic' ],
         'ldflags': [ '-pthread', ],
         'conditions': [
-          [ 'target_arch=="ia32"', {
-            'cflags': [ '-m32' ],
-            'ldflags': [ '-m32' ],
-          }],
           [ 'OS=="linux"', {
             'cflags': [ '-ansi' ],
           }],