From 67ede2f5d46768a97359f6f4ab345c76e726b2d8 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Wed, 19 Oct 2011 15:27:32 +1300 Subject: scripts: use the hardfloat option to set configure and CFLAGS When hardfloat is selected, we need to pass that selection down to ./configure and in the CFLAGS. Signed-off-by: Michael Hope [yann.morin.1998@anciens.enib.fr: split the original patch] Signed-off-by: "Yann E. MORIN" diff --git a/scripts/functions b/scripts/functions index 69becf8..f4b19ca 100644 --- a/scripts/functions +++ b/scripts/functions @@ -985,6 +985,10 @@ CT_DoBuildTargetTuple() { [ "${CT_ARCH_FPU}" ] && { CT_ARCH_FPU_CFLAG="-mfpu=${CT_ARCH_FPU}"; CT_ARCH_WITH_FPU="--with-fpu=${CT_ARCH_FPU}"; } case "${CT_ARCH_FLOAT}" in + hard) + CT_ARCH_FLOAT_CFLAG="-mhard-float" + CT_ARCH_WITH_FLOAT="--with-float=hard" + ;; soft) CT_ARCH_FLOAT_CFLAG="-msoft-float" CT_ARCH_WITH_FLOAT="--with-float=soft" -- cgit v0.10.2-6-g49f6