Module Name:    src
Committed By:   christos
Date:           Sun Nov  5 01:16:16 UTC 2017

Modified Files:
        src/external/gpl3/gcc.old/lib/liblto_plugin: Makefile

Log Message:
undo previous; we can't link with libiberty because it is a private library
and not build as pic. Instead just bring in the xstrerror.c source from it.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/gpl3/gcc.old/lib/liblto_plugin/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.old/lib/liblto_plugin/Makefile
diff -u src/external/gpl3/gcc.old/lib/liblto_plugin/Makefile:1.5 src/external/gpl3/gcc.old/lib/liblto_plugin/Makefile:1.6
--- src/external/gpl3/gcc.old/lib/liblto_plugin/Makefile:1.5	Sat Nov  4 12:21:49 2017
+++ src/external/gpl3/gcc.old/lib/liblto_plugin/Makefile	Sat Nov  4 21:16:16 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.5 2017/11/04 16:21:49 kamil Exp $
+#	$NetBSD: Makefile,v 1.6 2017/11/05 01:16:16 christos Exp $
 
 .include <bsd.init.mk>
 .include <bsd.shlib.mk>
@@ -11,7 +11,7 @@ GNUHOSTDIST=	${DIST}
 SRCS=		lto-plugin.c hashtab.c simple-object.c pex-unix.c \
 		pex-common.c argv.c make-temp-file.c concat.c \
 		simple-object-elf.c simple-object-mach-o.c \
-		simple-object-coff.c simple-object-xcoff.c
+		simple-object-coff.c simple-object-xcoff.c xstrerror.c
 
 CPPFLAGS+=	-I${DIST}/include -I. 
 CPPFLAGS+=	-DHAVE_CONFIG_H
@@ -31,10 +31,6 @@ LIBDIR=		/usr/libexec
 SHLIB_MAJOR=	0
 SHLIB_MINOR=	1
 
-LIBIBERTYDIR!=	cd ${.CURDIR}/../../lib/libiberty && ${PRINTOBJDIR}
-LDADD+=		-L${LIBIBERTYDIR} -liberty
-DPADD+=		${LIBIBERTYDIR}/libiberty.a
-
 # Yuck, we have to run configure to generate this one...
 CLEANFILES+=	config.h
 HOST_CFLAGS+= -I${.OBJDIR}

Reply via email to