diff options
author | Paul J. Davis <paul.joseph.davis@gmail.com> | 2011-12-06 11:49:10 -0500 |
---|---|---|
committer | Paul J. Davis <paul.joseph.davis@gmail.com> | 2011-12-12 13:53:06 -0600 |
commit | 0bdc62b8b186de839cf44721b8b61aa1eeae1f14 (patch) | |
tree | 2300c89de34edac9535229c2b901ab656d50d12e /couchjs | |
parent | 83a451f1e8166ec62baa04932281615b92fde946 (diff) |
Allow CPPPATH to be overriden in the environment
Diffstat (limited to 'couchjs')
-rw-r--r-- | couchjs/c_src/SConscript | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/couchjs/c_src/SConscript b/couchjs/c_src/SConscript index da3752bc..451c03d3 100644 --- a/couchjs/c_src/SConscript +++ b/couchjs/c_src/SConscript @@ -22,7 +22,8 @@ def require_lib(name): def runcmd(cmd): return commands.getstatusoutput(cmd) -env = Environment(CC="c++", CCFLAGS='-g -O2 -DXP_UNIX') +env = Environment(CC="c++", CCFLAGS='-g -O2 -DXP_UNIX', + CPPPATH=os.getenv("CPPPATH")) if os.uname()[0] == 'SunOS': env['CC'] = '/usr/sfw/bin/gcc' |