freerdp: pass appropriate ARM ABI flags
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 29 Dec 2014 14:11:30 +0000 (15:11 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 29 Dec 2014 15:00:37 +0000 (16:00 +0100)
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>
package/freerdp/freerdp.mk

index a703500b6fdb2c27d8632c876656179f29fab846..57cd7a867aee1c772e711bcb661985374cf7259d 100644 (file)
@@ -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))