svn commit: r242600 - stable/9/lib/libc++
Dimitry Andric
dim at FreeBSD.org
Mon Nov 5 07:44:01 UTC 2012
Author: dim
Date: Mon Nov 5 07:44:00 2012
New Revision: 242600
URL: http://svnweb.freebsd.org/changeset/base/242600
Log:
MFC r242472:
Fix broken macro checking in the libc++ Makefile, introduced in r241909.
This caused -std=c++0x not to be passed to the build by default.
Pointy hat to: dim
Modified:
stable/9/lib/libc++/Makefile
Directory Properties:
stable/9/lib/libc++/ (props changed)
Modified: stable/9/lib/libc++/Makefile
==============================================================================
--- stable/9/lib/libc++/Makefile Mon Nov 5 07:08:45 2012 (r242599)
+++ stable/9/lib/libc++/Makefile Mon Nov 5 07:44:00 2012 (r242600)
@@ -53,7 +53,7 @@ cxxrt_${_S}:
WARNS= 0
CFLAGS+= -I${HDRDIR} -I${LIBCXXRTDIR} -nostdlib -DLIBCXXRT
-.if !defined(CXXFLAGS) || ${CXXFLAGS:M-std=*}" == ""
+.if empty(CXXFLAGS:M-std=*)
CXXFLAGS+= -std=c++0x
.endif
More information about the svn-src-stable-9
mailing list