e7f261aa15
Also, sync a bit with base gcc: - disable unsafe builtins - disable -Wpointer-sign in -Wall - move -fstrict-aliasing to -O3, disable -fstrict-overflow and -fdelete-null-pointer-checks - enable -Wsystem-headers - default to march=i486 on i386 - fix crtsavres on powerpc - sync sparc64 config - implement -Wvariable-decl, -Wstack-larger-than-N (alpha, amd64, i386, sparc, sparc64), -Wtrampolines, -ftrampolines - default to -fno-ident - fix -rdynamic by passing -export-dynamic to ld(1) some bits from Brad, others from me. tested by myself and jsg@, adastrap now hosted by sthen@ (thanks). ok jsg@ sthen@
30 lines
1.2 KiB
Plaintext
30 lines
1.2 KiB
Plaintext
$OpenBSD: patch-gcc_configure,v 1.3 2012/03/31 20:02:03 pascal Exp $
|
|
--- gcc/configure.orig Sun Nov 20 22:24:07 2011
|
|
+++ gcc/configure Sun Mar 11 19:10:40 2012
|
|
@@ -16917,7 +16917,7 @@ openbsd*)
|
|
*) need_version=no ;;
|
|
esac
|
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
|
|
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
+ #finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
shlibpath_var=LD_LIBRARY_PATH
|
|
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
|
case $host_os in
|
|
@@ -20576,7 +20576,7 @@ openbsd*)
|
|
*) need_version=no ;;
|
|
esac
|
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
|
|
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
+ #finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
shlibpath_var=LD_LIBRARY_PATH
|
|
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
|
case $host_os in
|
|
@@ -25778,6 +25778,7 @@ else
|
|
fi
|
|
|
|
;;
|
|
+ *-*-openbsd*) gcc_cv_libc_provides_ssp=yes ;;
|
|
*) gcc_cv_libc_provides_ssp=no ;;
|
|
esac
|
|
fi
|