pkgsrc/lang/gcc/patches/patch-av

15 lines
465 B
Text
Raw Normal View History

$NetBSD: patch-av,v 1.1 2001/02/28 23:28:09 hubertf Exp $
--- ../gcc-2.95.2/gcc/config/sparc/t-netbsd.orig Tue Feb 27 14:37:27 2001
+++ ../gcc-2.95.2/gcc/config/sparc/t-netbsd
@@ -0,0 +1,9 @@
+# We have to include libgcc.a also in shared libraries, so
+# let's compile the code position independent
+
+TARGET_LIBGCC2_CFLAGS = -fPIC
+
+# Same for crtbeginS.o and crtendS.o . All code that goes into a shared
+# library has to be PIC
+
+CRTSTUFF_T_CFLAGS_S = -fPIC