Hi, I'm trying to build my code with the gcc "-march=native"-option
(x86-64), or any other value there for that matter. Qbs won't let me do
that using

cpp.cxxFlags: [ "-march=native" ]

saying

"warning: The following properties have invalid values:
cpp.cxxFlags: '-target', '-triple', '-arch' and '-march' cannot appear in
flags; set qbs.architecture instead"

Trying

qbs.architecture: "native"

gives

"warning: The following properties have invalid values:
cpp.architecture: 'native' differs from the architecture produced by this
compiler (x86_64)"

How do I fix this?

The -mtune option works but it's not quite what I'm after here.

Best regards,
Ola Røer Thorsen
_______________________________________________
Qbs mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qbs

Reply via email to