summaryrefslogtreecommitdiff
path: root/lang/gcc/patches
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2002-09-09 03:23:06 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2002-09-09 03:23:06 +0000
commite78d94cdc79962f06dfd91f1de0b02199c0233ef (patch)
tree6e52628526191e793342e8d7973517b59a6b1d64 /lang/gcc/patches
parent0417b85750c64b40ec09da5757990040a2196341 (diff)
downloadpkgsrc-e78d94cdc79962f06dfd91f1de0b02199c0233ef.tar.gz
- 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
Diffstat (limited to 'lang/gcc/patches')
-rw-r--r--lang/gcc/patches/patch-ab15
-rw-r--r--lang/gcc/patches/patch-ac13
2 files changed, 28 insertions, 0 deletions
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 =
+