diff options
author | Adam Kocoloski <adam@cloudant.com> | 2011-10-18 20:30:10 -0400 |
---|---|---|
committer | Adam Kocoloski <adam@cloudant.com> | 2011-10-18 20:30:10 -0400 |
commit | 5f59de1d4b8a6fbac537ff7419f68aa7015b0121 (patch) | |
tree | e6ec51a2fc01370fa9a0eb08a31964bc474f36ae /couchjs | |
parent | c8a5018609538a25fdc4ca473db06e6765d1baac (diff) |
Revert "Build couchjs with C, not C++. Fixes libm error on CentOS."
This reverts commit 6b26f47e8287b2d1c1d7b74199647dec2e7c2bef.
Turns out the 'libm' error is a very obscure way of reporting a lack
of a C++ compiler.
Diffstat (limited to 'couchjs')
-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 4fc9e5a3..a5f8b66b 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(CCFLAGS='-g -O2 -DXP_UNIX') +env = Environment(CC="c++", CCFLAGS='-g -O2 -DXP_UNIX') if os.uname()[0] == 'SunOS': env['CC'] = '/usr/sfw/bin/gcc' |