[Qbs] How to pass a GCC parameter '--param inline-unit-growth=120'
Карелин Павел
hkarel at yandex.ru
Mon Jul 31 13:33:59 CEST 2017
31.07.2017 13:11, Christian Kandeler пишет:
> On Mon, 31 Jul 2017 12:54:43 +0300
> Карелин Павел <hkarel at yandex.ru> wrote:
>
>> For a GCC compiler, I need to pass a parameter: --param
>> inline-unit-growth=120
>> I do this as follows
>> cpp.driverFlags: [
>> "--param inline-unit-growth=120",
>> ]
> Why are you passing this as one string? Clearly, these are two separate command-line arguments:
> cpp.driverFlags: ["--param", "inline-unit-growth=120"]
Because logical - it's a uniform parameter. And I haven't guessed that
it should be transmitted in two parts.
Thanks for the advice - it works
--
Pavel
>
>
> Christian
> _______________________________________________
> Qbs mailing list
> Qbs at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qbs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20170731/d8d4e2c2/attachment.html>
More information about the Qbs
mailing list