summaryrefslogtreecommitdiffstats
path: root/lib/libc++
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2012-11-02 12:18:38 +0000
committerdim <dim@FreeBSD.org>2012-11-02 12:18:38 +0000
commitabfbe8a705ed42999eaffc57c3eb53e1bca5e893 (patch)
treeaa9e1101398b24a822b14a4ceb24e97dfa0ae95f /lib/libc++
parent8f7046903dc43e438d87daa1fdf8e164cfe02eff (diff)
downloadFreeBSD-src-abfbe8a705ed42999eaffc57c3eb53e1bca5e893.zip
FreeBSD-src-abfbe8a705ed42999eaffc57c3eb53e1bca5e893.tar.gz
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
Diffstat (limited to 'lib/libc++')
-rw-r--r--lib/libc++/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc++/Makefile b/lib/libc++/Makefile
index 26877ee..d1d7017 100644
--- a/lib/libc++/Makefile
+++ b/lib/libc++/Makefile
@@ -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
OpenPOWER on IntegriCloud