From aede6c4ea44d2b76fd7314111c1ead9f3209450c Mon Sep 17 00:00:00 2001
From: brandon s allbery kf8nh <allbery.b@gmail.com>
Date: Mon, 24 Jun 2024 18:00:39 -0400
Subject: [PATCH] regenerate bootstrap files without arch-native

---
 bootstrap/linux-9.0.2.json | 2 +-
 bootstrap/linux-9.2.8.json | 2 +-
 bootstrap/linux-9.4.8.json | 2 +-
 bootstrap/linux-9.6.4.json | 2 +-
 bootstrap/linux-9.8.2.json | 2 +-
 cabal.bootstrap.project    | 5 +++++
 6 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/bootstrap/linux-9.0.2.json b/bootstrap/linux-9.0.2.json
index 0747a5434c..606b65148e 100644
--- a/bootstrap/linux-9.0.2.json
+++ b/bootstrap/linux-9.0.2.json
@@ -267,7 +267,7 @@
             "cabal_sha256": "82503a1ef0a625c210e118f2785c4138f8502aacbbfd4e5d987f6baffbb87115",
             "component": "lib:hashable",
             "flags": [
-                "+arch-native",
+                "-arch-native",
                 "+integer-gmp",
                 "-random-initial-seed"
             ],
diff --git a/bootstrap/linux-9.2.8.json b/bootstrap/linux-9.2.8.json
index e7f3d831a2..9dbf5356fe 100644
--- a/bootstrap/linux-9.2.8.json
+++ b/bootstrap/linux-9.2.8.json
@@ -237,7 +237,7 @@
             "cabal_sha256": "82503a1ef0a625c210e118f2785c4138f8502aacbbfd4e5d987f6baffbb87115",
             "component": "lib:hashable",
             "flags": [
-                "+arch-native",
+                "-arch-native",
                 "+integer-gmp",
                 "-random-initial-seed"
             ],
diff --git a/bootstrap/linux-9.4.8.json b/bootstrap/linux-9.4.8.json
index f4aded4aa9..9fbf518493 100644
--- a/bootstrap/linux-9.4.8.json
+++ b/bootstrap/linux-9.4.8.json
@@ -227,7 +227,7 @@
             "cabal_sha256": "82503a1ef0a625c210e118f2785c4138f8502aacbbfd4e5d987f6baffbb87115",
             "component": "lib:hashable",
             "flags": [
-                "+arch-native",
+                "-arch-native",
                 "+integer-gmp",
                 "-random-initial-seed"
             ],
diff --git a/bootstrap/linux-9.6.4.json b/bootstrap/linux-9.6.4.json
index 2146e1def3..8f2b85dcc9 100644
--- a/bootstrap/linux-9.6.4.json
+++ b/bootstrap/linux-9.6.4.json
@@ -197,7 +197,7 @@
             "cabal_sha256": "82503a1ef0a625c210e118f2785c4138f8502aacbbfd4e5d987f6baffbb87115",
             "component": "lib:hashable",
             "flags": [
-                "+arch-native",
+                "-arch-native",
                 "+integer-gmp",
                 "-random-initial-seed"
             ],
diff --git a/bootstrap/linux-9.8.2.json b/bootstrap/linux-9.8.2.json
index 613b5f40de..1df9f77958 100644
--- a/bootstrap/linux-9.8.2.json
+++ b/bootstrap/linux-9.8.2.json
@@ -201,7 +201,7 @@
             "cabal_sha256": "82503a1ef0a625c210e118f2785c4138f8502aacbbfd4e5d987f6baffbb87115",
             "component": "lib:hashable",
             "flags": [
-                "+arch-native",
+                "-arch-native",
                 "+integer-gmp",
                 "-random-initial-seed"
             ],
diff --git a/cabal.bootstrap.project b/cabal.bootstrap.project
index e90887b60c..a84cf7ae48 100644
--- a/cabal.bootstrap.project
+++ b/cabal.bootstrap.project
@@ -8,4 +8,9 @@ packages:
 tests: False
 benchmarks: False
 
+-- This project file is used to generate bootstrap plans,
+-- as such we cannot enable "-march=native".
+constraints:
+  hashable -arch-native
+
 index-state: hackage.haskell.org 2024-06-17T00:00:01Z
-- 
GitLab