summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorBrendan Tildesley <mail@brendan.scot>2025-11-25 01:56:59 +0800
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-11-25 18:53:05 +0000
commit9b6ed483955da46ac4027d10fe46381b262ead6f (patch)
tree553d500531ba570aefac7c1e73305d78674c0e37 /gnu
parent3a48bbf3836ee132093a20fcfbb11fb88a982da9 (diff)
gnu: python-rencode: Prevent native comp.
* gnu/packages/python-xyz.scm (python-rencode): [arguments]: Remove -march=native and -mfma flags. Fixes: guix/guix#4440 Change-Id: I6ee16c91f6a34a6af44367bb4136d7e4c0c5f438 Change-Id: I8612f4b2fe78c558eff301b4733db2ac34d16a0e Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-xyz.scm11
1 files changed, 10 insertions, 1 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9297aee97ef..5f2dacbf165 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -42,7 +42,7 @@
;;; Copyright © 2017, 2020, 2021 Roel Janssen <roel@gnu.org>
;;; Copyright © 2017, 2018, 2019 Kei Kebreau <kkebreau@posteo.net>
;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com>
-;;; Copyright © 2017, 2019, 2021 Brendan Tildesley <mail@brendan.scot>
+;;; Copyright © 2017, 2019, 2021, 2025 Brendan Tildesley <mail@brendan.scot>
;;; Copyright © 2018 Ethan R. Jones <ethanrjones97@gmail.com
;;; Copyright © 2018 Fis Trivial <ybbs.daans@hotmail.com>
;;; Copyright © 2018 Vijayalakshmi Vedantham <vijimay12@gmail.com>
@@ -25521,6 +25521,15 @@ case-folding for case-insensitive matches in Unicode.")
(sha256
(base32 "1dicbm8gdii2bjp85s2p4pnclf25k9x4b4kaj80y8ddhh87glrlk"))))
(build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'disable-native-optimization
+ (lambda _
+ (substitute* "build.py"
+ (("^COMPILE_ARGS.*")
+ "COMPILE_ARGS: list[str] = []\n")))))))
(native-inputs
(list python-cython
python-pytest