summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2011-11-26 03:26:06 +0000
committerdim <dim@FreeBSD.org>2011-11-26 03:26:06 +0000
commit85d58c885455bf5b3bbe3d4ff65e93d6d4682de7 (patch)
tree44b0bc4589c05e0ceaf7f09d403e39b5b539bc1f /Makefile.inc1
parentba968938a825d14728301fd5e903d6632483b883 (diff)
downloadFreeBSD-src-85d58c885455bf5b3bbe3d4ff65e93d6d4682de7.zip
FreeBSD-src-85d58c885455bf5b3bbe3d4ff65e93d6d4682de7.tar.gz
Fix breakage after r227983; lib/libcxxrt still got built, because it was
not disabled in the usual way (by adding it to __DEFAULT_NO_OPTIONS in share/mk/bsd.own.mk), and because the test for MK_LIBCPLUSPLUS in Makefile.inc1 was incorrect. Pointy hat to: dim
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc12
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 5c9cafa..c953419 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1218,7 +1218,7 @@ _startup_libs+= lib/csu/${MACHINE_CPUARCH}
_startup_libs+= gnu/lib/libgcc
_startup_libs+= lib/libcompiler_rt
_startup_libs+= lib/libc
-.if defined(MK_LIBCPLUSPLUS)
+.if ${MK_LIBCPLUSPLUS} != "no"
_startup_libs+= lib/libcxxrt
.endif
OpenPOWER on IntegriCloud