diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-10-14 20:45:43 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-10-14 20:45:43 +0000 |
commit | b00b985dd2894315727c9b3632c50ad1f978f0bc (patch) | |
tree | 322964533c0ac7db18793da857e9ac3090cf6cb1 /gnu/egcs | |
parent | 5a42580a5f194abf7e820630572135fcf053d955 (diff) |
build both -fPIC and -fpic on sparc; espie (not around, and this needs to be in the tree nowish)
Diffstat (limited to 'gnu/egcs')
-rw-r--r-- | gnu/egcs/gcc/config/sparc/t-openbsd | 5 | ||||
-rw-r--r-- | gnu/egcs/gcc/configure | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gnu/egcs/gcc/config/sparc/t-openbsd b/gnu/egcs/gcc/config/sparc/t-openbsd new file mode 100644 index 00000000000..898a24e079d --- /dev/null +++ b/gnu/egcs/gcc/config/sparc/t-openbsd @@ -0,0 +1,5 @@ +# The native linker doesn't handle linking -fpic code with -fPIC code. Ugh. +# We cope by building both variants of libgcc. +MULTILIB_OPTIONS = fpic/fPIC +LIBGCC = stmp-multilib +INSTALL_LIBGCC = install-multilib diff --git a/gnu/egcs/gcc/configure b/gnu/egcs/gcc/configure index ac59317f25e..8505bfbc8d4 100644 --- a/gnu/egcs/gcc/configure +++ b/gnu/egcs/gcc/configure @@ -5332,6 +5332,7 @@ for machine in $build $host $target; do sparc-*-openbsd*) # we need collect2 until our bug is fixed... use_collect2=yes + tmake_file="t-libc-ok t-openbsd sparc/t-openbsd" ;; sparc-*-bsd*) tm_file=sparc/bsd.h |