summaryrefslogtreecommitdiff
path: root/couchjs
diff options
context:
space:
mode:
authorRobert Newson <robert.newson@cloudant.com>2011-10-17 20:23:25 +0100
committerRobert Newson <robert.newson@cloudant.com>2011-10-17 20:23:25 +0100
commit6b26f47e8287b2d1c1d7b74199647dec2e7c2bef (patch)
tree948d7ffc4a05a6b0d0388382818f749168cf0651 /couchjs
parente671953b9a08b174d6de88777e690f4ea2cc3cdf (diff)
Build couchjs with C, not C++. Fixes libm error on CentOS.
Diffstat (limited to 'couchjs')
-rw-r--r--couchjs/c_src/SConscript2
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'