diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2009-11-03 00:21:00 +0100 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2009-11-03 00:21:00 +0100 |
commit | f481183140f5c3ad2c812ae5615b444aa684b2fc (patch) | |
tree | a279289b52bfdfba86995094e804153e938d7092 /wscript | |
parent | f97d339ce763d269b76aa8bb5add8c6006531c79 (diff) | |
download | nodejs-f481183140f5c3ad2c812ae5615b444aa684b2fc.tar.gz nodejs-f481183140f5c3ad2c812ae5615b444aa684b2fc.tar.bz2 nodejs-f481183140f5c3ad2c812ae5615b444aa684b2fc.zip |
Add process.platform
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -138,6 +138,11 @@ def configure(conf): conf.env.append_value('CCFLAGS', '-D_FILE_OFFSET_BITS=64') conf.env.append_value('CXXFLAGS', '-D_FILE_OFFSET_BITS=64') + # platform + platform_def = '-DPLATFORM=' + sys.platform + conf.env.append_value('CCFLAGS', platform_def) + conf.env.append_value('CXXFLAGS', platform_def) + # Split off debug variant before adding variant specific defines debug_env = conf.env.copy() conf.set_env_name('debug', debug_env) |