[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-openjfx-dev
Subject:    Re: Allow to pass in custom CFLAGS to gcc
From:       Thomas_Stüfe <thomas.stuefe () gmail ! com>
Date:       2017-07-19 12:50:31
Message-ID: CAA-vtUwGkpsJiF=GF9HFrWOqQsrL4iA=GYz2f9i4pR6k+_y8XQ () mail ! gmail ! com
[Download RAW message or body]

Oh sorry, I thought you were talking about the standard openjdk build,
--with-extra-cflags
is a configure option.

Kind Regards, Thomas



On Wed, Jul 19, 2017 at 2:38 PM, Jonny Heggheim <hegjon@gmail.com> wrote:

> Hi Thomas!
>
> On 19 July 2017 at 14:18, Thomas Stüfe <thomas.stuefe@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...]
>
>
> Jonny
>
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic