Skip to content

Commit 9ef5e0b

Browse files
committed
(Commandfile) add parameters: cxxflags, ldflags
1 parent 2b2ef00 commit 9ef5e0b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Commandfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,12 @@ command 'phpize',
99

1010
command 'configure',
1111
description: 'executes "configure" to prepare build',
12+
parameters: {
13+
cxxflags: { default: "-ggdb -Wall -Wno-write-strings" },
14+
ldflags: { default: "-ggdb" },
15+
},
1216
script: <<-eof
13-
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"'
17+
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}"'
1418
eof
1519

1620
command 'clean',

0 commit comments

Comments
 (0)