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/liblto_plugin Backport patch from gcc....
details: https://anonhg.NetBSD.org/src/rev/cbc6e55e1741
branches: trunk
changeset: 357307:cbc6e55e1741
user: kamil <kamil%NetBSD.org@localhost>
date: Sun Nov 05 02:36:00 2017 +0000
description:
Backport patch from gcc.old for liblto_plugin
Correct resolution of xstrerror(). Switch from -liberty (which has PIC
problems as a local library) to directly linking xstrerror.c with
liblto_plugin.
Fix in gcc.old by <christos>
PR 52674 by myself
diffstat:
external/gpl3/gcc/lib/liblto_plugin/Makefile | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diffs (29 lines):
diff -r bfce32463bf6 -r cbc6e55e1741 external/gpl3/gcc/lib/liblto_plugin/Makefile
--- a/external/gpl3/gcc/lib/liblto_plugin/Makefile Sun Nov 05 01:18:15 2017 +0000
+++ b/external/gpl3/gcc/lib/liblto_plugin/Makefile Sun Nov 05 02:36:00 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2017/11/04 16:21:49 kamil Exp $
+# $NetBSD: Makefile,v 1.7 2017/11/05 02:36:00 kamil 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