chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] How to I add (not override) compiler options/flags ?


From: Jeronimo Pellegrini
Subject: Re: [Chicken-users] How to I add (not override) compiler options/flags ?
Date: Sun, 24 Mar 2019 08:35:39 -0300
User-agent: Mutt/1.10.1 (2018-07-13)

On Sun, Mar 24, 2019 at 11:18:48AM +0100, address@hidden wrote:
> Jeronimo Pellegrini <address@hidden> wrote:
> > But since C_COMPILER_OPTIONS is defined with ?=, if I set it
> > when running make, the default in Makefile.linux, for example,
> > would be ignored.
> > 
> > So if I use a script that wants to *add* flags, how should I do that?
> > (I see that CFLAGS is not used).
> 
> Hmm, this indeed doesn’t appear to be possible.
> 
> Maybe you could use C_COMPILER_OPTIMIZATION_OPTIONS ?

This seems to work! I can set C_COMPILER_OPTIMIZATION_OPTIONS
to CFLAGS before calling make, and compilation goes as
intended.

Thank you!
J.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]