binutils on powerpc now ignores --gc-sections. Remove the local patch
to avoid using it on powerpc from Mesa. Tested by matthieu@ on macppc.
This commit is contained in:
parent
9cb17b0e3b
commit
46fe26bc0b
9
lib/mesa/configure
vendored
9
lib/mesa/configure
vendored
@ -19727,15 +19727,6 @@ rm -f core conftest.err conftest.$ac_objext \
|
||||
conftest$ac_exeext conftest.$ac_ext
|
||||
LDFLAGS=$save_LDFLAGS
|
||||
|
||||
case "$host_os" in
|
||||
openbsd*)
|
||||
case "$host_cpu" in
|
||||
powerpc*)
|
||||
GC_SECTIONS="" ;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
|
||||
case "$host_os" in
|
||||
|
@ -547,18 +547,6 @@ AC_LINK_IFELSE(
|
||||
GC_SECTIONS="";])
|
||||
LDFLAGS=$save_LDFLAGS
|
||||
|
||||
dnl
|
||||
dnl --gc-sections causes ld 2.17 to segfault on ppc
|
||||
dnl
|
||||
case "$host_os" in
|
||||
openbsd*)
|
||||
case "$host_cpu" in
|
||||
powerpc*)
|
||||
GC_SECTIONS="" ;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
|
||||
AC_SUBST([GC_SECTIONS])
|
||||
|
||||
dnl
|
||||
|
Loading…
Reference in New Issue
Block a user