patch-gcc_configure 1.2 KB

123456789101112131415161718192021222324252627282930
  1. $OpenBSD: patch-gcc_configure,v 1.5 2016/09/01 17:30:33 pascal Exp $
  2. --- gcc/configure.orig Sun May 22 10:53:32 2016
  3. +++ gcc/configure Sat Aug 6 19:19:05 2016
  4. @@ -17367,7 +17367,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. @@ -21027,7 +21027,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. @@ -27522,6 +27522,7 @@ else
  23. fi
  24. ;;
  25. + *-*-openbsd*) gcc_cv_libc_provides_ssp=yes ;;
  26. *) gcc_cv_libc_provides_ssp=no ;;
  27. esac
  28. fi