aboutsummaryrefslogtreecommitdiff
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2014-04-28 23:16:46 +0000
committerWarner Losh <imp@FreeBSD.org>2014-04-28 23:16:46 +0000
commit52cb8b8fe1178a672b908538af3c3422da8afbed (patch)
tree3a47aee05816820e173c70fc0077e456ff92e76d /Makefile.inc1
parentf0fdcfe247c3927f40b1612388f9a35973d56728 (diff)
downloadsrc-52cb8b8fe1178a672b908538af3c3422da8afbed.tar.gz
src-52cb8b8fe1178a672b908538af3c3422da8afbed.zip
Add dependency for libm to libstdc++. This fixes high -j value builds
when not building with clang. Submitted by: ian@
Notes
Notes: svn path=/head/; revision=265063
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc11
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index c9ad941b0fe6..1b7d38da81d2 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1480,6 +1480,7 @@ _prebuild_libs= ${_kerberos5_lib_libasn1} \
${_secure_lib_libssh} ${_secure_lib_libssl}
.if ${MK_GNUCXX} != "no" && ${MK_CXX} != "no"
_prebuild_libs+= gnu/lib/libstdc++ gnu/lib/libsupc++
+gnu/lib/libstdc++__L: lib/msun__L
.endif
.if defined(WITH_ATF) || ${MK_TESTS} != "no"