Skip to content
Snippets Groups Projects
Unverified Commit 357bbf0b authored by mergify[bot]'s avatar mergify[bot] Committed by GitHub
Browse files

Disable arch-native flag when building releases that we distribute (#10142) (#10144)


* Disable arch-native flag when building releases that we distribute

* Use the constraints stanza

* Also disable the flag in cabal.validate.project

(cherry picked from commit 9bb4f58e)

Co-authored-by: default avatarHécate <Kleidukos@users.noreply.github.com>
parent 82cad891
No related branches found
No related tags found
No related merge requests found
......@@ -2,4 +2,7 @@ import: project-cabal/pkgs/cabal.config
import: project-cabal/pkgs/install.config
import: project-cabal/pkgs/tests.config
constraints:
hashable -arch-native
index-state: hackage.haskell.org 2024-06-17T00:00:01Z
......@@ -7,3 +7,8 @@ tests: True
write-ghc-environment-files: never
program-options
ghc-options: -Werror
-- This project file is used to distribute the cabal-head binary,
-- as such we cannot enable "-march=native".
constraints:
hashable -arch-native
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment