diff options
Diffstat (limited to 'gnu')
-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 |