[Qbs] Passing unescaped flags to the linker
Benjamin TERRIER
b.terrier at gmail.com
Tue Oct 31 15:59:47 CET 2017
Hi,
I am experimenting with qbs and a gcc toolchain for an embedded arm
device. Is there a way
to pass unescaped flags to g++ when invoking the linker ?
For instance I need to pass "--specs=nano.specs" to g++. If I put it
in cpp.linkerFlags it does
not work as qbs will escape it with "-Wl". I can put it in
cpp.driverFlags, but then it get passed
to every call to g++ which is useless and generates warning when using
Clang Static Analyzer:
clang.exe: warning: argument unused during compilation: '--specs=nano.specs'
Thanks
BR
Benjamin Terrier
More information about the Qbs
mailing list