[Top][All Lists]

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

[patch #8818] AX_CXX_COMPILE_STDCXX: don't break "make CXXFLAGS=..."

From: Joshua Judson Rosen
Subject: [patch #8818] AX_CXX_COMPILE_STDCXX: don't break "make CXXFLAGS=..."
Date: Wed, 02 Dec 2015 21:54:11 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.3.0


                 Summary: AX_CXX_COMPILE_STDCXX: don't break "make
                 Project: GNU Autoconf Archive
            Submitted by: rozzin
            Submitted on: Wed 02 Dec 2015 09:54:10 PM GMT
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any



Make C++ std-selection macros modify $(CXX), not $(CXXFLAGS).

Using $(CXXFLAGS) prevents users from being able to
rebuild with different CXXFLAGS (e.g.: to try out
different optimisations or to change debug levels)
unless they re-run ./configure with their CFLAGS.

This is more like what the mainline Autoconf macros do
(e.g.: AC_PROG_CC_C99, AC_PROG_CC_STD, etc. modify $(CC),
not $(CCFLAGS)), presmuably for much the same reasons:
if you need to specify a standard to the compiler,
it doesn't really make sense to separate that from
$(CC)/$(CXX) since $(CC)/$(CXX) aren't usable without it.


File Attachments:

Date: Wed 02 Dec 2015 09:54:10 PM GMT  Name:
0001-AX_CXX_COMPILE_STDCXX-don-t-break-make-CXXFLAGS.patch  Size: 6kB   By:



Reply to this item at:


  Message sent via/by Savannah

reply via email to

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