autoconf-archive-maintainers | |
[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 |
URL:
<http://savannah.gnu.org/patch/?8818>
Summary: AX_CXX_COMPILE_STDCXX: don't break "make
CXXFLAGS=..."
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
_______________________________________________________
Details:
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:
rozzin
<http://savannah.gnu.org/patch/download.php?file_id=35620>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?8818>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [patch #8818] AX_CXX_COMPILE_STDCXX: don't break "make CXXFLAGS=...",
Joshua Judson Rosen <=