Allow to pass in custom CFLAGS to gcc

Jonny Heggheim hegjon at
Wed Jul 19 12:38:59 UTC 2017

Hi Thomas!

On 19 July 2017 at 14:18, Thomas Stüfe <thomas.stuefe at> wrote:
> You can pass extra CFLAGS with option --with-extra-cflags.

Thanks for your suggestion, do you know where I can find documentation
for this feature?

I got this error on Gradle 2.13:
$ gradle --with-extra-cflags '-O2 -g -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-m64 -mtune=generic'

Unknown command-line option '--with-extra-cflags'.

USAGE: gradle [option...] [task...]


More information about the openjfx-dev mailing list