SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
57
lang/gcc/8/patches/patch-gcc_configure
Normal file
57
lang/gcc/8/patches/patch-gcc_configure
Normal file
|
@ -0,0 +1,57 @@
|
|||
Index: gcc/configure
|
||||
--- gcc/configure.orig
|
||||
+++ gcc/configure
|
||||
@@ -17871,7 +17871,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
|
||||
@@ -21531,7 +21531,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
|
||||
@@ -28864,7 +28864,7 @@ $as_echo "#define HAVE_LD_PPC_GNU_ATTR_LONG_DOUBLE 1"
|
||||
esac
|
||||
|
||||
case "$target:$tm_file" in
|
||||
- powerpc64-*-freebsd* | powerpc64*-*-linux* | powerpc*-*-linux*rs6000/biarch64.h*)
|
||||
+ powerpc64-*-freebsd* | powerpc64*-*-linux* | powerpc*-*-linux*rs6000/biarch64.h* | powerpc64*-openbsd*)
|
||||
case "$target" in
|
||||
*le-*-linux*)
|
||||
emul_name="-melf64lppc"
|
||||
@@ -28875,6 +28875,10 @@ case "$target:$tm_file" in
|
||||
*-*-freebsd*)
|
||||
emul_name="-melf64ppc_fbsd"
|
||||
;;
|
||||
+ *-*-openbsd*)
|
||||
+ gcc_cv_ld_no_dot_syms=yes
|
||||
+ gcc_cv_ld_large_toc=yes
|
||||
+ ;;
|
||||
esac
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking linker support for omitting dot symbols" >&5
|
||||
$as_echo_n "checking linker support for omitting dot symbols... " >&6; }
|
||||
@@ -29242,6 +29246,7 @@ else
|
||||
fi
|
||||
|
||||
;;
|
||||
+ *-*-openbsd*) gcc_cv_libc_provides_ssp=yes ;;
|
||||
*) gcc_cv_libc_provides_ssp=no ;;
|
||||
esac
|
||||
fi
|
||||
@@ -29262,6 +29267,7 @@ if test "${enable_default_ssp+set}" = set; then :
|
||||
if test x$gcc_cv_libc_provides_ssp = xyes; then
|
||||
case "$target" in
|
||||
ia64*-*-*) enable_default_ssp=no ;;
|
||||
+ hppa*-*-*) enable_default_ssp=no ;;
|
||||
*) enable_default_ssp=$enableval ;;
|
||||
esac
|
||||
else
|
Loading…
Add table
Add a link
Reference in a new issue