diff options
author | Robert Newson <robert.newson@cloudant.com> | 2011-10-17 22:12:51 +0100 |
---|---|---|
committer | Robert Newson <robert.newson@cloudant.com> | 2011-10-17 22:12:51 +0100 |
commit | 04ca9674ee94fbdf687a1d124f8b7f9be828294e (patch) | |
tree | be0a245344b5a240812215a19e251c86389f51df /couchjs/c_src | |
parent | e311d45fba617e7917d76109b4e21dbb388f268d (diff) |
Revert "Build couchjs with C, not C++. Fixes libm error on CentOS."
This reverts commit e311d45fba617e7917d76109b4e21dbb388f268d.
Turns out the 'libm' error is a very obscure way of reporting a lack
of a c++ compiler.
Diffstat (limited to 'couchjs/c_src')
-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' |