diff options
author | Robert Newson <robert.newson@cloudant.com> | 2011-10-17 20:23:25 +0100 |
---|---|---|
committer | Robert Newson <robert.newson@cloudant.com> | 2011-10-17 20:23:25 +0100 |
commit | 6b26f47e8287b2d1c1d7b74199647dec2e7c2bef (patch) | |
tree | 948d7ffc4a05a6b0d0388382818f749168cf0651 | |
parent | e671953b9a08b174d6de88777e690f4ea2cc3cdf (diff) |
Build couchjs with C, not C++. Fixes libm error on CentOS.
-rw-r--r-- | couchjs/c_src/SConscript | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/couchjs/c_src/SConscript b/couchjs/c_src/SConscript index a5f8b66b..4fc9e5a3 100644 --- a/couchjs/c_src/SConscript +++ b/couchjs/c_src/SConscript @@ -22,7 +22,7 @@ def require_lib(name): def runcmd(cmd): return commands.getstatusoutput(cmd) -env = Environment(CC="c++", CCFLAGS='-g -O2 -DXP_UNIX') +env = Environment(CCFLAGS='-g -O2 -DXP_UNIX') if os.uname()[0] == 'SunOS': env['CC'] = '/usr/sfw/bin/gcc' |