This is the mail archive of the automake-prs@sources.redhat.com mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

automake/421: automake should offer a way to pass additional CFLAGS after $(CFLAGS)


>Number:         421
>Category:       automake
>Synopsis:       automake should offer a way to pass additional CFLAGS after $(CFLAGS)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    tromey
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon May 03 17:31:01 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     roland.illig@gmx.de
>Release:        automake-1.8
>Organization:
>Environment:

>Description:
I have a package where I 'optimized' the CFLAGS for GCC. I switched on everything I could. But for one program, I would like to negate one option, namely '-Wno-redundant-decl'. I tried this:

getenv_CFLAGS=  -Wno-redundant-decl

But the CFLAGS were prepended instead of appended. I did not find a way to append the getenv_CFLAGS to CFLAGS.

Assuming people know about the difference between CPPFLAGS, CFLAGS and CXXFLAGS, it seems more sensible to me to _ap_pend the program specific flags for CFLAGS and CXXFLAGS, and to continue to _pre_pend them for CPPFLAGS.

Well, most likely people don't know the difference ...
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]