[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[MiNT] binutils fix
Hi Vincent,
Attached is an additional patch to binutils to fix a problem building
here that picks up -fpic which we don't support when building on
FreeMiNT directly.
Thanks,
Alan.
diff -aurN binutils-2.21/libiberty/configure binutils-2.21-mint-20110206/libiberty/configure
--- binutils-2.21/libiberty/configure 2009-09-08 18:11:46.000000000 +0100
+++ binutils-2.21-mint-20110206/libiberty/configure 2009-10-22 16:39:46.000000000 +0100
@@ -4844,6 +4844,7 @@
if [ "${shared}" = "yes" ]; then
case "${host}" in
*-*-cygwin*) ;;
+ *-*-mint*) ;;
alpha*-*-linux*) PICFLAG=-fPIC ;;
arm*-*-*) PICFLAG=-fPIC ;;
hppa*-*-*) PICFLAG=-fPIC ;;
diff -aurN binutils-2.21/libiberty/configure.ac binutils-2.21-mint-20110206/libiberty/configure.ac
--- binutils-2.21/libiberty/configure.ac 2009-09-08 18:11:46.000000000 +0100
+++ binutils-2.21-mint-20110206/libiberty/configure.ac 2009-10-22 16:39:46.000000000 +0100
@@ -201,6 +201,7 @@
if [[ "${shared}" = "yes" ]]; then
case "${host}" in
*-*-cygwin*) ;;
+ *-*-mint*) ;;
alpha*-*-linux*) PICFLAG=-fPIC ;;
arm*-*-*) PICFLAG=-fPIC ;;
hppa*-*-*) PICFLAG=-fPIC ;;