Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Nov 2012 12:18:38 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r242472 - head/lib/libc++
Message-ID:  <201211021218.qA2CIc9d018642@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211021218.qA2CIc9d018642>