patch-gcc_configure 1.2 KB

123456789101112131415161718192021222324252627282930
  1. $OpenBSD: patch-gcc_configure,v 1.4 2013/06/07 07:54:23 pascal Exp $
  2. --- gcc/configure.orig Mon Jan 14 17:35:23 2013
  3. +++ gcc/configure Sat Apr 13 16:20:32 2013
  4. @@ -16949,7 +16949,7 @@ openbsd*)
  5. *) need_version=no ;;
  6. esac
  7. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  8. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  9. + #finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  10. shlibpath_var=LD_LIBRARY_PATH
  11. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  12. case $host_os in
  13. @@ -20608,7 +20608,7 @@ openbsd*)
  14. *) need_version=no ;;
  15. esac
  16. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  17. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  18. + #finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  19. shlibpath_var=LD_LIBRARY_PATH
  20. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  21. case $host_os in
  22. @@ -25814,6 +25814,7 @@ else
  23. fi
  24. ;;
  25. + *-*-openbsd*) gcc_cv_libc_provides_ssp=yes ;;
  26. *) gcc_cv_libc_provides_ssp=no ;;
  27. esac
  28. fi