summaryrefslogtreecommitdiff
path: root/lang/gcc/patches/patch-av
blob: f7245e4bb9d5eebe2effbeb95ccf262741dc6099 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$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