summaryrefslogtreecommitdiff
path: root/gcc/config/t-netbsd
diff options
context:
space:
mode:
authorthorpej <thorpej@138bc75d-0d04-0410-961f-82ee72b054a4>2002-11-24 23:36:26 +0000
committerthorpej <thorpej@138bc75d-0d04-0410-961f-82ee72b054a4>2002-11-24 23:36:26 +0000
commit9a33b00e9f2154147a0c782bc87f1deb9506fe16 (patch)
tree2dc72dd6d8ab79d5b95dff996f26e55d3407c31c /gcc/config/t-netbsd
parent9833f23897323326b74eebca32979a90f6c14b89 (diff)
downloadgcc-9a33b00e9f2154147a0c782bc87f1deb9506fe16.tar.gz
* config.gcc (*-*-netbsd*1.[7-9]*, *-*-netbsd*[2-9]*): Set
extra_parts to "crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o". (arm*-*-netbsd*, i[34567]86-*-netbsd*, m68k*-*-netbsd*) (ns32k-*-netbsd*, sparc-*-netbsd*, vax-*-netbsd*): Set extra_parts to "" for a.out configurations. * config/t-netbsd (CRTSTUFF_T_CFLAGS): Set to "-fPIC". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59444 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/t-netbsd')
-rw-r--r--gcc/config/t-netbsd3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config/t-netbsd b/gcc/config/t-netbsd
index d284b3e7e41..fa2a4886320 100644
--- a/gcc/config/t-netbsd
+++ b/gcc/config/t-netbsd
@@ -1,2 +1,5 @@
# Don't run fixproto
STMP_FIXPROTO =
+
+# Always build crtstuff with PIC.
+CRTSTUFF_T_CFLAGS = -fPIC