svn commit: r242472 - head/lib/libc++
Dimitry Andric
dim at FreeBSD.org
Fri Nov 2 12:18:39 UTC 2012
Author: dim
Date: Fri Nov 2 12:18:38 2012
New Revision: 242472
URL: http://svn.freebsd.org/changeset/base/242472
Log:
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
MFC after: 3 days
Modified:
head/lib/libc++/Makefile
Modified: head/lib/libc++/Makefile
==============================================================================
--- head/lib/libc++/Makefile Fri Nov 2 11:13:44 2012 (r242471)
+++ head/lib/libc++/Makefile Fri Nov 2 12:18:38 2012 (r242472)
@@ -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-all
mailing list