[Qbs] How to pass a GCC parameter '--param inline-unit-growth=120'

Christian Kandeler christian.kandeler at qt.io
Mon Jul 31 12:11:32 CEST 2017

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"]


More information about the Qbs mailing list