From e78d94cdc79962f06dfd91f1de0b02199c0233ef Mon Sep 17 00:00:00 2001 From: dmcmahill Date: Mon, 9 Sep 2002 03:23:06 +0000 Subject: - pull in the last bit of changes to sync this up with the netbsd-1-6-RELEASE gcc. - enable building shared libstdc++ - add a -R to LDFLAGS in Makefile.gcc to point to the shared libs this pkg installs --- lang/gcc/patches/patch-ab | 15 +++++++++++++++ lang/gcc/patches/patch-ac | 13 +++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 lang/gcc/patches/patch-ab create mode 100644 lang/gcc/patches/patch-ac (limited to 'lang/gcc/patches') diff --git a/lang/gcc/patches/patch-ab b/lang/gcc/patches/patch-ab new file mode 100644 index 00000000000..0872804c9cb --- /dev/null +++ b/lang/gcc/patches/patch-ab @@ -0,0 +1,15 @@ +$NetBSD: patch-ab,v 1.6 2002/09/09 03:23:07 dmcmahill Exp $ + +Enable building the shared libstdc++ + +--- ../gcc-2.95.3/libstdc++/Makefile.in.orig Thu Aug 29 18:57:24 2002 ++++ ../gcc-2.95.3/libstdc++/Makefile.in +@@ -43,7 +43,7 @@ SHDEPS = + + STAMP = bigstmp + +-LIBS = $(ARLIB) $(ARLINK) ++LIBS = $(ARLIB) $(ARLINK) $(SHLIB) $(SHLINK) + + #### package, host, target, and site dependent Makefile fragments come in here. + ## diff --git a/lang/gcc/patches/patch-ac b/lang/gcc/patches/patch-ac new file mode 100644 index 00000000000..4fa07f77d20 --- /dev/null +++ b/lang/gcc/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.5 2002/09/09 03:23:07 dmcmahill Exp $ + +--- ../gcc-2.95.3/libiberty/Makefile.in.orig Thu Aug 29 20:05:50 2002 ++++ ../gcc-2.95.3/libiberty/Makefile.in +@@ -57,7 +57,7 @@ CFLAGS = @CFLAGS@ + LIBCFLAGS = $(CFLAGS) + RANLIB = @RANLIB@ + +-PICFLAG = ++PICFLAG = -fPIC -DPIC + + MAKEOVERRIDES = + -- cgit v1.2.3