summaryrefslogtreecommitdiff
path: root/compiler/HsVersions.h
diff options
context:
space:
mode:
authorStephen Blackheath <effusively.proffer.stephen@blacksapphire.com>2011-07-26 10:35:17 +0000
committerManuel M T Chakravarty <chak@cse.unsw.edu.au>2011-08-10 22:03:41 +1000
commitf7a70506bc252d72628ea81faa20df8030923790 (patch)
tree2adbba23026b4d392d53e116d1c99c1c75a69032 /compiler/HsVersions.h
parent5cf87b43993f5fd2884755cd16268c2f40572026 (diff)
downloadhaskell-f7a70506bc252d72628ea81faa20df8030923790.tar.gz
ARMv5 compatibility for registerized runtime changes.
When the bootstrap compiler does not include this patch, you must add this line to mk/build.mk, otherwise the ARM architecture cannot be detected due to a -undef option given to the C pre-processor. SRC_HC_OPTS = -pgmP 'gcc -E -traditional'
Diffstat (limited to 'compiler/HsVersions.h')
-rw-r--r--compiler/HsVersions.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/HsVersions.h b/compiler/HsVersions.h
index b6f92ae2e7..f730c7eded 100644
--- a/compiler/HsVersions.h
+++ b/compiler/HsVersions.h
@@ -15,6 +15,7 @@ you will screw up the layout where they are used in case expressions!
/* Pull in all the platform defines for this build (foo_TARGET_ARCH etc.) */
#include "ghc_boot_platform.h"
+#include "../includes/stg/ArchSpecific.h"
/* This macro indicates that the target OS supports ELF-like shared libraries */
#if linux_TARGET_OS || freebsd_TARGET_OS || openbsd_TARGET_OS || solaris2_TARGET_OS