Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc.old/lib/liblto_plugin undo previous; we ca...



details:   https://anonhg.NetBSD.org/src/rev/b7ca1dd3d901
branches:  trunk
changeset: 357305:b7ca1dd3d901
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Nov 05 01:16:16 2017 +0000

description:
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.

diffstat:

 external/gpl3/gcc.old/lib/liblto_plugin/Makefile |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (29 lines):

diff -r a9051301dced -r b7ca1dd3d901 external/gpl3/gcc.old/lib/liblto_plugin/Makefile
--- a/external/gpl3/gcc.old/lib/liblto_plugin/Makefile  Sat Nov 04 22:17:55 2017 +0000
+++ b/external/gpl3/gcc.old/lib/liblto_plugin/Makefile  Sun Nov 05 01:16:16 2017 +0000
@@ -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 @@
 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 @@
 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}



Home | Main Index | Thread Index | Old Index