Module Name:    src
Committed By:   mrg
Date:           Wed Feb  7 02:30:39 UTC 2018

Modified Files:
        src/external/gpl3/gcc/lib/libstdc++-v3: Makefile

Log Message:
handle MKPICLIB=no builds.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/external/gpl3/gcc/lib/libstdc++-v3/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/lib/libstdc++-v3/Makefile
diff -u src/external/gpl3/gcc/lib/libstdc++-v3/Makefile:1.31 src/external/gpl3/gcc/lib/libstdc++-v3/Makefile:1.32
--- src/external/gpl3/gcc/lib/libstdc++-v3/Makefile:1.31	Sun Feb  4 01:16:33 2018
+++ src/external/gpl3/gcc/lib/libstdc++-v3/Makefile	Wed Feb  7 02:30:39 2018
@@ -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 @@ libstdc++-symbols.ver:
 	${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 \

Reply via email to