From 5f59de1d4b8a6fbac537ff7419f68aa7015b0121 Mon Sep 17 00:00:00 2001 From: Adam Kocoloski Date: Tue, 18 Oct 2011 20:30:10 -0400 Subject: 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. --- couchjs/c_src/SConscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'couchjs') 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' -- cgit v1.2.3