Re: Per-library CFLAGS to appear after user-defined CFLAGS

2006-09-18 Thread Sander Niemeijer
I'd like to force a compiler flag on a certain library in my Makefile.am and ensure that the user cannot override it's behaviour. I want to do something like: mylib_la_CFLAGS = -O0 to disable optimization. However, automake puts mylib_la_CFLAGS *before* the user-defined CFLAGS so i

Per-library CFLAGS to appear after user-defined CFLAGS

2006-09-15 Thread Daniel Drake
Hi, I'd like to force a compiler flag on a certain library in my Makefile.am and ensure that the user cannot override it's behaviour. I want to do something like: mylib_la_CFLAGS = -O0 to disable optimization. However, automake puts mylib_la_CFLAGS *before* the user-defined CFLAGS so it