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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9095 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 86a62d0d
...@@ -173,6 +173,14 @@ ...@@ -173,6 +173,14 @@
}, },
}, },
}], }],
['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
'conditions': [
[ 'target_arch=="ia32"', {
'cflags': [ '-m32' ],
'ldflags': [ '-m32' ],
}],
],
}],
], ],
'configurations': { 'configurations': {
'Debug': { 'Debug': {
......
...@@ -79,10 +79,6 @@ ...@@ -79,10 +79,6 @@
'-fno-exceptions', '-pedantic' ], '-fno-exceptions', '-pedantic' ],
'ldflags': [ '-pthread', ], 'ldflags': [ '-pthread', ],
'conditions': [ 'conditions': [
[ 'target_arch=="ia32"', {
'cflags': [ '-m32' ],
'ldflags': [ '-m32' ],
}],
[ 'OS=="linux"', { [ 'OS=="linux"', {
'cflags': [ '-ansi' ], 'cflags': [ '-ansi' ],
}], }],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment