Author: dim
Date: Mon Nov  5 07:44:00 2012
New Revision: 242600
URL: http://svnweb.freebsd.org/changeset/base/242600

Log:
  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

Modified:
  stable/9/lib/libc++/Makefile
Directory Properties:
  stable/9/lib/libc++/   (props changed)

Modified: stable/9/lib/libc++/Makefile
==============================================================================
--- stable/9/lib/libc++/Makefile        Mon Nov  5 07:08:45 2012        
(r242599)
+++ stable/9/lib/libc++/Makefile        Mon Nov  5 07:44:00 2012        
(r242600)
@@ -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
 
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to