summaryrefslogtreecommitdiff
path: root/lib/mesa
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2016-10-23 06:16:04 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2016-10-23 06:16:04 +0000
commit562a59dda2611d1654136346fcd7b05f017106f3 (patch)
treec691f5ec2c67ae28d9b73673bf3eae8fb42e9871 /lib/mesa
parent24b86fc1e70e78d13c7f3f677b22cb48a39192b2 (diff)
binutils on powerpc now ignores --gc-sections. Remove the local patch
to avoid using it on powerpc from Mesa. Tested by matthieu@ on macppc.
Diffstat (limited to 'lib/mesa')
-rwxr-xr-xlib/mesa/configure9
-rw-r--r--lib/mesa/configure.ac12
2 files changed, 0 insertions, 21 deletions
diff --git a/lib/mesa/configure b/lib/mesa/configure
index 10f3ae2cd..5e668ffc0 100755
--- a/lib/mesa/configure
+++ b/lib/mesa/configure
@@ -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
diff --git a/lib/mesa/configure.ac b/lib/mesa/configure.ac
index 29e2ad8c9..a7a6ce997 100644
--- a/lib/mesa/configure.ac
+++ b/lib/mesa/configure.ac
@@ -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