Allow to pass in custom CFLAGS to gcc
thomas.stuefe at gmail.com
Wed Jul 19 12:50:31 UTC 2017
Oh sorry, I thought you were talking about the standard openjdk build,
is a configure option.
Kind Regards, Thomas
On Wed, Jul 19, 2017 at 2:38 PM, Jonny Heggheim <hegjon at gmail.com> wrote:
> Hi Thomas!
> On 19 July 2017 at 14:18, Thomas Stüfe <thomas.stuefe at gmail.com> 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