diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2000-10-09 15:47:03 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2000-10-09 15:47:03 +0000 |
commit | e517de49f3e432b4729ac0ef1753067f9ce089c1 (patch) | |
tree | 3069a4fa5cd7ef9d9cf4cee252c7b5d6b42dad6a /gnu/egcs/gcc | |
parent | 3138b3093a3022b9565564c387bf6832a398a720 (diff) |
Compile libgcc -fPIC on all OpenBSD architectures.
(better name for the fragment)
Diffstat (limited to 'gnu/egcs/gcc')
-rw-r--r-- | gnu/egcs/gcc/config/t-libgcc-pic | 2 | ||||
-rw-r--r-- | gnu/egcs/gcc/configure | 3 | ||||
-rw-r--r-- | gnu/egcs/gcc/configure.in | 3 |
3 files changed, 4 insertions, 4 deletions
diff --git a/gnu/egcs/gcc/config/t-libgcc-pic b/gnu/egcs/gcc/config/t-libgcc-pic new file mode 100644 index 00000000000..ff935fe1e05 --- /dev/null +++ b/gnu/egcs/gcc/config/t-libgcc-pic @@ -0,0 +1,2 @@ +# Compile libgcc2.a with pic. +TARGET_LIBGCC2_CFLAGS = -fPIC diff --git a/gnu/egcs/gcc/configure b/gnu/egcs/gcc/configure index aaba2a4e8aa..ac59317f25e 100644 --- a/gnu/egcs/gcc/configure +++ b/gnu/egcs/gcc/configure @@ -2959,7 +2959,7 @@ for machine in $build $host $target; do ;; *-*-openbsd*) tm_file=${cpu_type}/openbsd.h - tmake_file="t-libc-ok t-openbsd" + tmake_file="t-libc-ok t-openbsd t-libgcc-pic" # avoid surprises, always provide an xm-openbsd file xm_file=${cpu_type}/xm-openbsd.h # for egcs in tree, we use our own fragment @@ -5056,7 +5056,6 @@ for machine in $build $host $target; do ;; powerpc-*-openbsd*) tmake_file="${tmake_file} rs6000/t-rs6000 rs6000/t-openbsd" - tmake_file="${tmake_file} t-openbsd-libgcc" ;; powerpc-*-beos*) cpu_type=rs6000 diff --git a/gnu/egcs/gcc/configure.in b/gnu/egcs/gcc/configure.in index cbb4b06c482..b3f1cf49444 100644 --- a/gnu/egcs/gcc/configure.in +++ b/gnu/egcs/gcc/configure.in @@ -526,7 +526,7 @@ changequote([,])dnl ;; *-*-openbsd*) tm_file=${cpu_type}/openbsd.h - tmake_file="t-libc-ok t-openbsd" + tmake_file="t-libc-ok t-openbsd t-libgcc-pic" # avoid surprises, always provide an xm-openbsd file xm_file=${cpu_type}/xm-openbsd.h # for egcs in tree, we use our own fragment @@ -2741,7 +2741,6 @@ changequote([,])dnl ;; powerpc-*-openbsd*) tmake_file="${tmake_file} rs6000/t-rs6000 rs6000/t-openbsd" - tmake_file="${tmake_file} t-openbsd-libgcc" ;; powerpc-*-beos*) cpu_type=rs6000 |