binutils/s390-pic.patch

27 lines
927 B
Diff

Index: libiberty/configure
===================================================================
--- libiberty/configure.orig 2010-11-05 11:31:22.000000000 +0100
+++ libiberty/configure 2011-01-10 17:45:26.000000000 +0100
@@ -4865,7 +4865,7 @@ if [ "${shared}" = "yes" ]; then
*-fpic* ) PICFLAG=-fpic ;;
* ) PICFLAG=-fPIC ;;
esac ;;
- s390*-*-*) PICFLAG=-fpic ;;
+ s390*-*-*) PICFLAG=-fPIC ;;
sh*-*-*) PICFLAG=-fPIC ;;
esac
fi
Index: libiberty/configure.ac
===================================================================
--- libiberty/configure.ac.orig 2010-11-05 00:41:21.000000000 +0100
+++ libiberty/configure.ac 2011-01-10 17:45:33.000000000 +0100
@@ -216,7 +216,7 @@ if [[ "${shared}" = "yes" ]]; then
*-fpic* ) PICFLAG=-fpic ;;
* ) PICFLAG=-fPIC ;;
esac ;;
- s390*-*-*) PICFLAG=-fpic ;;
+ s390*-*-*) PICFLAG=-fPIC ;;
sh*-*-*) PICFLAG=-fPIC ;;
esac
fi