On Sun, Mar 24, 2019 at 11:18:48AM +0100, ko...@upyum.com wrote: > Jeronimo Pellegrini <j...@aleph0.info> 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. _______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users