Browse files

Revert "Build couchjs with C, not C++. Fixes libm error on CentOS."

This reverts commit e311d45.

Turns out the 'libm' error is a very obscure way of reporting a lack
of a c++ compiler.
  • Loading branch information...
1 parent e311d45 commit 04ca9674ee94fbdf687a1d124f8b7f9be828294e Robert Newson committed Oct 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 couchjs/c_src/SConscript
2 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'

0 comments on commit 04ca967

Please sign in to comment.