Closed jpnurmi closed 11 years ago
I tried for a few hours, but I didn't manage to process/escape the arguments so that I could get
./configure -var "QMAKE_CXXFLAGS += -Wfoo -Wbar" -var "QMAKE_LFLAGS += -L/foo -lbar"
eventually translated to:
qmake "QMAKE_CXXFLAGS += -Wfoo -Wbar" "QMAKE_LFLAGS += -L/foo -lbar"
Looks trivial, but seems to be quite hard with Bourne Shell. :(
It should be possible to pass qmake variables such as QMAKE_CXXFLAGS and QMAKE_LFLAGS to the configure script.
Ref: https://wiki.debian.org/Hardening