summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2002-07-08 10:53:35 +0000
committerpeter <peter@FreeBSD.org>2002-07-08 10:53:35 +0000
commit76a86b952e4036fbc3a4b978a30cdf5526a9d301 (patch)
tree26f41f2f5a5ba7bd05cbbae70d18880fb5eae94c /gnu
parentaeccf286e8794035a7a158ef6cd04d0163353f83 (diff)
downloadFreeBSD-src-76a86b952e4036fbc3a4b978a30cdf5526a9d301.zip
FreeBSD-src-76a86b952e4036fbc3a4b978a30cdf5526a9d301.tar.gz
Bandaid for sparc64. Do not build libstdc++.so for now on sparc64.
Binaries compiled with it segfault.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/lib/libstdc++/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/lib/libstdc++/Makefile b/gnu/lib/libstdc++/Makefile
index 84d26ad..f4c3984 100644
--- a/gnu/lib/libstdc++/Makefile
+++ b/gnu/lib/libstdc++/Makefile
@@ -11,8 +11,10 @@ SUPDIR= ${SRCDIR}/libsupc++
#SUBDIR= doc
LIB= stdc++
+.if ${MACHINE_ARCH} != "sparc64"
SHLIB_MAJOR= 4
SHLIB_MINOR= 0
+.endif
CFLAGS+= -DIN_GLIBCPP_V3 -DHAVE_CONFIG_H
CFLAGS+= -I${.CURDIR} -I${SUPDIR} -I${GCCDIR}
OpenPOWER on IntegriCloud