openbsd-ports/lang/gcc/4.8/patches/patch-gcc_configure

30 lines
1.2 KiB
Plaintext
Raw Normal View History

$OpenBSD: patch-gcc_configure,v 1.1.1.1 2013/04/08 08:20:24 pascal Exp $
--- gcc/configure.orig Thu Mar 14 16:43:23 2013
+++ gcc/configure Fri Mar 22 22:19:20 2013
@@ -17250,7 +17250,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
@@ -20910,7 +20910,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
@@ -26779,6 +26779,7 @@ else
fi
;;
+ *-*-openbsd*) gcc_cv_libc_provides_ssp=yes ;;
*) gcc_cv_libc_provides_ssp=no ;;
esac
fi