From 1252cfbb4388b0ba2a9181339108b47309e312e3 Mon Sep 17 00:00:00 2001 From: dim Date: Mon, 5 Nov 2012 07:44:00 +0000 Subject: [PATCH] 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 git-svn-id: svn://svn.freebsd.org/base/stable/9@242600 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- lib/libc++/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libc++/Makefile b/lib/libc++/Makefile index 26877eebe..d1d70178c 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 -- 2.45.0