aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-12-29 15:11:30 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-12-29 16:00:37 +0100
commit64f94d1109ea950e64cf6bbf14df9ed776ad308e (patch)
tree7afde1ceb71a37bfef9ce1746d195957cc56f75b
parentaf72ee80eb7dfb6c64831ddccc603cefaebb6df2 (diff)
downloadbuildroot-64f94d1109ea950e64cf6bbf14df9ed776ad308e.tar.gz
buildroot-64f94d1109ea950e64cf6bbf14df9ed776ad308e.tar.bz2
freerdp: pass appropriate ARM ABI flags
In the line of commit 530693787b3 ("package/freerdp: do not use Neon extensions when not available") done by Yann E. Morin, freerdp also passes an explicit -mfloat-abi= flag, and defaults to softfp. This obviously breaks badly when building an EABIhf system. This commit therefore fixes freerdp.mk to pass the appropriate ARM_FP_ABI value to freerdp's build system. Fixes: http://autobuild.buildroot.org/results/6ca/6ca9de1a11c675533baa68f7a6bf7b6af7cb4345/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/freerdp/freerdp.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/freerdp/freerdp.mk b/package/freerdp/freerdp.mk
index a703500b6f..57cd7a867a 100644
--- a/package/freerdp/freerdp.mk
+++ b/package/freerdp/freerdp.mk
@@ -75,4 +75,8 @@ else
FREERDP_CONF_OPTS += -DWITH_SSE2=OFF
endif
+ifeq ($(BR2_arm)$(BR2_armeb),y)
+FREERDP_CONF_OPTS += -DARM_FP_ABI=$(call qstrip,$(BR2_GCC_TARGET_FLOAT_ABI))
+endif
+
$(eval $(cmake-package))