mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 01:01:06 +00:00
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
This commit is contained in:
parent
acdff4634b
commit
a006bb4ba3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=242472
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue