summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-10-04 16:23:54 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-10-09 16:21:14 -0400
commit5f2c49d804ce38816a62ea0a197dbac79ac8b9c2 (patch)
tree27860ec808e068543f64ff9824d548cd8f183abc
parent817c1a947d50a070613815e02a530f83d9078eb8 (diff)
downloadhaskell-5f2c49d804ce38816a62ea0a197dbac79ac8b9c2.tar.gz
Remove GHC_STAGE guards from MachDeps
This allows the stage1 compiler (which needs to run on the build platform and produce code for the host) to depend upon properties of the target. This is wrong. However, it's no more wrong than it was previously and @Erichson2314 is working on fixing this so I'm going to remove the guard so we can finally bootstrap HEAD with ghc-8.8 (see issue #17146).
-rw-r--r--includes/MachDeps.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/includes/MachDeps.h b/includes/MachDeps.h
index 5160e381e0..81d6641dff 100644
--- a/includes/MachDeps.h
+++ b/includes/MachDeps.h
@@ -38,7 +38,6 @@
*
* Hence we hide these macros from GHC_STAGE=1
*/
-#if !defined(GHC_STAGE) || GHC_STAGE >= 2
/* Sizes of C types come from here... */
#include "ghcautoconf.h"
@@ -120,4 +119,3 @@
#define TAG_MASK ((1 << TAG_BITS) - 1)
-#endif /* !defined(GHC_STAGE) || GHC_STAGE >= 2 */