mirror of
https://github.com/phpv8/v8js.git
synced 2025-01-03 10:21:51 +00:00
(Commandfile) add parameters: cxxflags, ldflags
This commit is contained in:
parent
2b2ef00072
commit
9ef5e0b7b3
@ -9,8 +9,12 @@ command 'phpize',
|
|||||||
|
|
||||||
command 'configure',
|
command 'configure',
|
||||||
description: 'executes "configure" to prepare build',
|
description: 'executes "configure" to prepare build',
|
||||||
|
parameters: {
|
||||||
|
cxxflags: { default: "-ggdb -Wall -Wno-write-strings" },
|
||||||
|
ldflags: { default: "-ggdb" },
|
||||||
|
},
|
||||||
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="-Wall -Wno-write-strings"'
|
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}"'
|
||||||
eof
|
eof
|
||||||
|
|
||||||
command 'clean',
|
command 'clean',
|
||||||
|
Loading…
Reference in New Issue
Block a user