diff options
Diffstat (limited to 'package/libffi/patches/patch-configure_ac')
-rw-r--r-- | package/libffi/patches/patch-configure_ac | 14 |
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)' |