summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2012-09-09 12:51:53 +0000
committermiod <miod@openbsd.org>2012-09-09 12:51:53 +0000
commit92016303d51ac1eb091ac6e080ad65177f8d39f5 (patch)
tree4b519af583c56e4798d4c152cd5b556b45c8ef61
parentallow to disable some features at build time (diff)
downloadwireguard-openbsd-92016303d51ac1eb091ac6e080ad65177f8d39f5.tar.xz
wireguard-openbsd-92016303d51ac1eb091ac6e080ad65177f8d39f5.zip
Set use_collect2 on m88k. Fixes the lib/csu/init_priority regress test.
IMPORTANT: be sure to recompile and reinstall libc, libobjc, libpthread and libstdc++ immediately after installing the new gcc.
-rw-r--r--gnu/egcs/gcc/config.gcc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/egcs/gcc/config.gcc b/gnu/egcs/gcc/config.gcc
index 78fed21768f..9ce6d89a868 100644
--- a/gnu/egcs/gcc/config.gcc
+++ b/gnu/egcs/gcc/config.gcc
@@ -1674,6 +1674,7 @@ m88k-*-luna*)
m88k-*-openbsd*)
# tm_file="${tm_file} exec-stack.h"
tmake_file="t-libc-ok t-openbsd m88k/t-openbsd"
+ use_collect2=yes
;;
m88k-*-sysv3*)
tm_file=m88k/sysv3.h