From abfbe8a705ed42999eaffc57c3eb53e1bca5e893 Mon Sep 17 00:00:00 2001 From: dim Date: Fri, 2 Nov 2012 12:18:38 +0000 Subject: 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 --- lib/libc++/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libc++') 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 -- cgit v1.1