From 321e0935263969332ffdac31a45b805bdf441c68 Mon Sep 17 00:00:00 2001 From: Debian Haskell Group Date: Sat, 16 Jun 2012 10:48:18 +0000 Subject: [PATCH] armhf_llvm_abi Gbp-Pq: Name armhf_llvm_abi --- compiler/main/DriverPipeline.hs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/compiler/main/DriverPipeline.hs b/compiler/main/DriverPipeline.hs index 2230f3fa..7ee4dd45 100644 --- a/compiler/main/DriverPipeline.hs +++ b/compiler/main/DriverPipeline.hs @@ -1,5 +1,5 @@ {-# OPTIONS -fno-cse #-} -{-# LANGUAGE NamedFieldPuns #-} +{-# LANGUAGE NamedFieldPuns, CPP #-} -- -fno-cse is needed for GLOBAL_VAR's to behave properly ----------------------------------------------------------------------------- @@ -1379,6 +1379,9 @@ runPhase LlvmLlc input_fn dflags then ["-mattr=+v7,+vfp3"] else if (elem VFPv3D16 ext) then ["-mattr=+v7,+vfp3,+d16"] +#ifdef __ARM_PCS_VFP + ++ ["-float-abi=hard"] +#endif else [] _ -> [] -- 2.30.2