0
0
mirror of https://github.com/phpv8/v8js.git synced 2025-04-21 12:24:36 +00:00

explicitly link against stdc++

This commit is contained in:
Stefan Siegl 2018-01-05 19:41:21 +01:00
parent 457dacf7ed
commit c8d5e23d9b
No known key found for this signature in database
GPG Key ID: 73942AF5642F3DDA

@ -11,7 +11,7 @@ command 'configure',
description: 'executes "configure" to prepare build',
parameters: {
cxxflags: { default: "-ggdb -Wall -Wno-write-strings" },
ldflags: { default: "-ggdb" },
ldflags: { default: "-ggdb -lstdc++" },
},
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}"'