diff options
author | Robert Newson <robert.newson@cloudant.com> | 2011-10-17 20:23:25 +0100 |
---|---|---|
committer | Robert Newson <robert.newson@cloudant.com> | 2011-10-17 20:23:34 +0100 |
commit | e311d45fba617e7917d76109b4e21dbb388f268d (patch) | |
tree | 71ce250c5d0357f1777613ecc86c847c209e8947 | |
parent | 1605ef5500851f89613c5cef33dd8bc0f5032bc1 (diff) |
Build couchjs with C, not C++. Fixes libm error on CentOS.
-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 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' |