build.bqn: add ccflags to replxx compiling
now matches readme description & makefile behavior
This commit is contained in:
parent
100a188545
commit
d399e776b0
@ -294,6 +294,7 @@ po ← { # parsed options
|
|||||||
args ← ⟨cxx, "-DREPLXX_STATIC=1", "-I"∾replxxDir∾"/include"⟩
|
args ← ⟨cxx, "-DREPLXX_STATIC=1", "-I"∾replxxDir∾"/include"⟩
|
||||||
args∾↩ GetOpt "REPLXX_FLAGS"
|
args∾↩ GetOpt "REPLXX_FLAGS"
|
||||||
args∾↩ ( ¬pie) / ⟨"-fno-pie"⟩
|
args∾↩ ( ¬pie) / ⟨"-fno-pie"⟩
|
||||||
|
args∾↩ GetOpt "CCFLAGS"
|
||||||
args∾↩ (pie ∧ ¬shared) / ⟨"-fPIE"⟩
|
args∾↩ (pie ∧ ¬shared) / ⟨"-fPIE"⟩
|
||||||
args∾↩ ( shared) / (¬GetOpt"no_fPIC")/⟨"-fPIC"⟩
|
args∾↩ ( shared) / (¬GetOpt"no_fPIC")/⟨"-fPIC"⟩
|
||||||
{"REPLXX C++ compiler: "∾•Repr 𝕩} _verboseLog args
|
{"REPLXX C++ compiler: "∾•Repr 𝕩} _verboseLog args
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user