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
_______________________________________________
Qbs mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qbs

Reply via email to