Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gcc/lib/libstdc++-v3 handle MKPICLIB=no builds.
details: https://anonhg.NetBSD.org/src/rev/38d39a6c5a58
branches: trunk
changeset: 359316:38d39a6c5a58
user: mrg <mrg%NetBSD.org@localhost>
date: Wed Feb 07 02:30:39 2018 +0000
description:
handle MKPICLIB=no builds.
diffstat:
external/gpl3/gcc/lib/libstdc++-v3/Makefile | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r e22e33f494ed -r 38d39a6c5a58 external/gpl3/gcc/lib/libstdc++-v3/Makefile
--- a/external/gpl3/gcc/lib/libstdc++-v3/Makefile Wed Feb 07 02:29:06 2018 +0000
+++ b/external/gpl3/gcc/lib/libstdc++-v3/Makefile Wed Feb 07 02:30:39 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2018/02/04 01:16:33 mrg Exp $
+# $NetBSD: Makefile,v 1.32 2018/02/07 02:30:39 mrg Exp $
REQUIRETOOLS= yes
NOLINT= # defined
@@ -25,7 +25,11 @@
${CXX} -I${DESTDIR}/usr/include/g++ -E -P -include ${.CURDIR}/arch/${LIBSTDCXX_MACHINE_ARCH}/c++config.h - > \
${.TARGET}.tmp && mv ${.TARGET}.tmp ${.TARGET} && rm -f ${.TARGET}.tmp
+.if ${MKPICLIB} != "no"
libstdc++_pic.a:: libstdc++-symbols.ver
+.else
+libstdc++.a:: libstdc++-symbols.ver
+.endif
LDFLAGS+= -Wl,-O1 \
-Wl,--gc-sections \
Home |
Main Index |
Thread Index |
Old Index