From d399e776b08a09587eede0996f59c7e6efb6a41a Mon Sep 17 00:00:00 2001 From: dzaima Date: Sun, 2 Apr 2023 15:47:55 +0300 Subject: [PATCH] build.bqn: add ccflags to replxx compiling now matches readme description & makefile behavior --- build/src/build.bqn | 1 + 1 file changed, 1 insertion(+) diff --git a/build/src/build.bqn b/build/src/build.bqn index ded572e8..c06ef721 100755 --- a/build/src/build.bqn +++ b/build/src/build.bqn @@ -294,6 +294,7 @@ po ← { # parsed options args ← ⟨cxx, "-DREPLXX_STATIC=1", "-I"∾replxxDir∾"/include"⟩ args∾↩ GetOpt "REPLXX_FLAGS" args∾↩ ( ¬pie) / ⟨"-fno-pie"⟩ + args∾↩ GetOpt "CCFLAGS" args∾↩ (pie ∧ ¬shared) / ⟨"-fPIE"⟩ args∾↩ ( shared) / (¬GetOpt"no_fPIC")/⟨"-fPIC"⟩ {"REPLXX C++ compiler: "∾•Repr 𝕩} _verboseLog args