Commit 2bc8a7b7 authored by Karel Gardas's avatar Karel Gardas Committed by dterei

fix configure's generation of settings file on ARM platform

This patch fixes generation of settings file on ARM platform
by configure script. This fixes build issue on ARM platform
where ghc-stage1 compiler is not able to read the target arch
value and due to this issue build fails with:

ghc-cabal: Failed to read "target arch" value "ArchARM ARMv7 [VFPv3, NEON]"
Signed-off-by: dterei's avatarDavid Terei <davidterei@gmail.com>
parent 515728a3
......@@ -172,7 +172,7 @@ AC_DEFUN([FPTOOLS_SET_HASKELL_PLATFORM_VARS],
;;
arm)
GET_ARM_ISA()
test -z "[$]2" || eval "[$]2=\"ArchARM \$ARM_ISA \$ARM_ISA_EXT\""
test -z "[$]2" || eval "[$]2=\"ArchARM {armISA = \$ARM_ISA, armISAExt = \$ARM_ISA_EXT}\""
;;
alpha)
test -z "[$]2" || eval "[$]2=ArchAlpha"
......@@ -336,7 +336,7 @@ AC_DEFUN([GET_ARM_ISA],
],
[changequote(, )dnl
ARM_ISA=ARMv7
ARM_ISA_EXT="[VFPv3, NEON]"
ARM_ISA_EXT="[VFPv3,NEON]"
changequote([, ])dnl
])
])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment