binutils/s390-pic.patch

27 lines
884 B
Diff

Index: libiberty/configure
===================================================================
--- libiberty/configure.orig 2009-11-23 14:02:49.000000000 +0100
+++ libiberty/configure 2009-11-23 14:03:07.000000000 +0100
@@ -4859,7 +4859,7 @@ if [ "${shared}" = "yes" ]; then
*-fpic* ) PICFLAG=-fpic ;;
* ) PICFLAG=-fPIC ;;
esac ;;
- s390*-*-*) PICFLAG=-fpic ;;
+ s390*-*-*) PICFLAG=-fPIC ;;
esac
fi
Index: libiberty/configure.ac
===================================================================
--- libiberty/configure.ac.orig 2009-11-23 14:02:49.000000000 +0100
+++ libiberty/configure.ac 2009-11-23 14:03:07.000000000 +0100
@@ -216,7 +216,7 @@ if [[ "${shared}" = "yes" ]]; then
*-fpic* ) PICFLAG=-fpic ;;
* ) PICFLAG=-fPIC ;;
esac ;;
- s390*-*-*) PICFLAG=-fpic ;;
+ s390*-*-*) PICFLAG=-fPIC ;;
esac
fi
AC_SUBST(PICFLAG)