aboutsummaryrefslogtreecommitdiff
path: root/package/libffi/libffi.mk
diff options
context:
space:
mode:
authorGravatar Jérôme Pouiller <jezz@sysmic.org>2013-08-09 09:34:30 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-08-10 10:13:42 +0200
commit98204e8feaaccfdf3a56192aa1f7a24fccafd5e9 (patch)
treece03201c0f39d05dac17ea097e8a24173705e411 /package/libffi/libffi.mk
parent129233fed6295d154acc2c84b5d51236be4e61d6 (diff)
downloadbuildroot-98204e8feaaccfdf3a56192aa1f7a24fccafd5e9.tar.gz
buildroot-98204e8feaaccfdf3a56192aa1f7a24fccafd5e9.tar.bz2
libffi: Add -mno-compact-eh when compiling for Mips
Fix compilation on Mips. Resolve issues detected here: http://autobuild.buildroot.net/results/f0c9db496233f53c26e92294d7305aa4511ec7b3/ http://autobuild.buildroot.net/results/8968690c248df86b040218867f92b573721e872c/ http://autobuild.buildroot.net/results/a35db8e6a49d022133b486b12f6a8e40b3c95b6e/ Also remove previous special case handling defined in libffi.mk. [Thomas: add Signed-off-by from Jérôme inside the patch itself.] Signed-off-by: Jérôme Pouiller <jezz@sysmic.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libffi/libffi.mk')
-rw-r--r--package/libffi/libffi.mk6
1 files changed, 0 insertions, 6 deletions
diff --git a/package/libffi/libffi.mk b/package/libffi/libffi.mk
index 51cbbce8cd..0ad5c84ec0 100644
--- a/package/libffi/libffi.mk
+++ b/package/libffi/libffi.mk
@@ -11,12 +11,6 @@ LIBFFI_LICENSE_FILES = LICENSE
LIBFFI_INSTALL_STAGING = YES
LIBFFI_AUTORECONF = YES
-# Newer CS MIPS toolchains use a different (compact) eh_frame format
-# libffi don't like them, just switch to the older format
-ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201209)$(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201203),y)
-LIBFFI_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -mno-compact-eh"
-endif
-
# Move the headers to the usual location, and adjust the .pc file
# accordingly.
define LIBFFI_MOVE_STAGING_HEADERS