summaryrefslogtreecommitdiff
path: root/package/libffi/patches/patch-configure_ac
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-12-05 17:40:30 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-12-05 17:40:30 +0100
commit2d7243fe9d10d9054dbceceb9a3f43b5eb4e3f56 (patch)
treefd823522e1e3fe6c1d95a7009ec9648ee12b35d9 /package/libffi/patches/patch-configure_ac
parenta7f00b82b5eadfcb460fd69d8de70d1c08a3ec9e (diff)
kernel update and different fixes for lemote
Diffstat (limited to 'package/libffi/patches/patch-configure_ac')
-rw-r--r--package/libffi/patches/patch-configure_ac14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/libffi/patches/patch-configure_ac b/package/libffi/patches/patch-configure_ac
new file mode 100644
index 000000000..32be1a3f7
--- /dev/null
+++ b/package/libffi/patches/patch-configure_ac
@@ -0,0 +1,14 @@
+--- libffi-3.0.13.orig/configure.ac 2013-03-17 23:36:15.000000000 +0100
++++ libffi-3.0.13/configure.ac 2013-12-05 15:58:33.000000000 +0100
+@@ -546,11 +546,6 @@ if test "x$GCC" = "xyes"; then
+ toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
+ toolexeclibdir='$(libdir)'
+ fi
+- multi_os_directory=`$CC -print-multi-os-directory`
+- case $multi_os_directory in
+- .) ;; # Avoid trailing /.
+- ../*) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
+- esac
+ AC_SUBST(toolexecdir)
+ else
+ toolexeclibdir='$(libdir)'