Revision: 9095
Author:   [email protected]
Date:     Thu Sep  1 04:50:29 2011
Log: move -m32 flag for ia32 targets from standalone.gypi to common.gypi

so that we no longer depend on Chromium setting this flag.

BUG=v8:1648

Review URL: http://codereview.chromium.org/7830004
http://code.google.com/p/v8/source/detail?r=9095

Modified:
 /branches/bleeding_edge/build/common.gypi
 /branches/bleeding_edge/build/standalone.gypi

=======================================
--- /branches/bleeding_edge/build/common.gypi   Fri Aug 26 04:23:51 2011
+++ /branches/bleeding_edge/build/common.gypi   Thu Sep  1 04:50:29 2011
@@ -172,6 +172,14 @@
             'GenerateMapFile': 'true',
           },
         },
+      }],
+      ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
+        'conditions': [
+          [ 'target_arch=="ia32"', {
+            'cflags': [ '-m32' ],
+            'ldflags': [ '-m32' ],
+          }],
+        ],
       }],
     ],
     'configurations': {
=======================================
--- /branches/bleeding_edge/build/standalone.gypi       Fri Aug 26 04:23:51 2011
+++ /branches/bleeding_edge/build/standalone.gypi       Thu Sep  1 04:50:29 2011
@@ -79,10 +79,6 @@
                     '-fno-exceptions', '-pedantic' ],
         'ldflags': [ '-pthread', ],
         'conditions': [
-          [ 'target_arch=="ia32"', {
-            'cflags': [ '-m32' ],
-            'ldflags': [ '-m32' ],
-          }],
           [ 'OS=="linux"', {
             'cflags': [ '-ansi' ],
           }],

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to