Index: SConstruct |
diff --git a/SConstruct b/SConstruct |
index 4365aa8a169d0676e253fc6d6090bfec2e1c653a..028bcfe5889f289b386c13d18e6d90d4c41fa4c2 100644 |
--- a/SConstruct |
+++ b/SConstruct |
@@ -172,6 +172,9 @@ LIBRARY_FLAGS = { |
'ARFLAGS': ['/NOLOGO'], |
'CCPDBFLAGS': ['/Zi'] |
}, |
+ 'arch:ia32': { |
+ 'CPPDEFINES': ['V8_ARCH_IA32'] |
+ }, |
'mode:debug': { |
'CCFLAGS': ['/Od', '/Gm'], |
'CPPDEFINES': ['_DEBUG', 'ENABLE_DISASSEMBLER', 'DEBUG'], |
@@ -209,9 +212,6 @@ V8_EXTRA_FLAGS = { |
'WARNINGFLAGS': ['-Wall', '-Werror', '-W', |
'-Wno-unused-parameter'] |
}, |
- 'arch:arm': { |
- 'CPPDEFINES': ['ARM'] |
- }, |
'os:win32': { |
'WARNINGFLAGS': ['-pedantic', '-Wno-long-long'] |
}, |
@@ -234,7 +234,7 @@ V8_EXTRA_FLAGS = { |
'LIBS': ['winmm', 'ws2_32'] |
}, |
'arch:arm': { |
- 'CPPDEFINES': ['ARM'], |
+ 'CPPDEFINES': ['V8_ARCH_ARM'], |
# /wd4996 is to silence the warning about sscanf |
# used by the arm simulator. |
'WARNINGFLAGS': ['/wd4996'] |
@@ -341,6 +341,9 @@ CCTEST_EXTRA_FLAGS = { |
}, |
'library:shared': { |
'CPPDEFINES': ['USING_V8_SHARED'] |
+ }, |
+ 'arch:ia32': { |
+ 'CPPDEFINES': ['V8_ARCH_IA32'] |
} |
} |
} |
@@ -433,6 +436,9 @@ SAMPLE_FLAGS = { |
'LINKFLAGS': ['/LTCG'], |
} |
}, |
+ 'arch:ia32': { |
+ 'CPPDEFINES': ['V8_ARCH_IA32'] |
+ }, |
'mode:debug': { |
'CCFLAGS': ['/Od'], |
'LINKFLAGS': ['/DEBUG'], |