|
@@ -11,7 +11,7 @@ command 'configure',
|
|
description: 'executes "configure" to prepare build',
|
|
description: 'executes "configure" to prepare build',
|
|
parameters: {
|
|
parameters: {
|
|
cxxflags: { default: "-ggdb -Wall -Wno-write-strings" },
|
|
cxxflags: { default: "-ggdb -Wall -Wno-write-strings" },
|
|
- ldflags: { default: "-ggdb" },
|
|
|
|
|
|
+ ldflags: { default: "-ggdb -lstdc++" },
|
|
},
|
|
},
|
|
script: <<-eof
|
|
script: <<-eof
|
|
bash -c 'cd /data/build; ../v8js/configure `bash -c "if test -d /opt/libv8-*; then echo -n --with-v8js=; echo /opt/libv8-*; fi"` `test -d "/usr/lib64" && echo --with-libdir=lib64` CXXFLAGS="%{cxxflags}" LDFLAGS="%{ldflags}"'
|
|
bash -c 'cd /data/build; ../v8js/configure `bash -c "if test -d /opt/libv8-*; then echo -n --with-v8js=; echo /opt/libv8-*; fi"` `test -d "/usr/lib64" && echo --with-libdir=lib64` CXXFLAGS="%{cxxflags}" LDFLAGS="%{ldflags}"'
|