summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarmen Stoppels <me@harmenstoppels.nl>2023-10-19 19:15:18 +0200
committerGitHub <noreply@github.com>2023-10-19 10:15:18 -0700
commit3f594e86a1ae0435b730af95e83867ba8b7d20d5 (patch)
tree2565d508664a146c7d2271e9408978a2d0337212
parent46c1a8e4c65d72c0ba68b6131c3b6a4d2fa3f9ff (diff)
downloadspack-3f594e86a1ae0435b730af95e83867ba8b7d20d5.tar.gz
spack-3f594e86a1ae0435b730af95e83867ba8b7d20d5.tar.bz2
spack-3f594e86a1ae0435b730af95e83867ba8b7d20d5.tar.xz
spack-3f594e86a1ae0435b730af95e83867ba8b7d20d5.zip
libvorbis: drop -force_cpusubtype_ALL flag (#40616)
This flag was only relevant when targeting powerpc from apple-clang, which we don't do. The flag is removed from apple-clang@15. Let's drop it unconditionally.
-rw-r--r--var/spack/repos/builtin/packages/libvorbis/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libvorbis/package.py b/var/spack/repos/builtin/packages/libvorbis/package.py
index 9f4fc58fc9..cfd0420ca3 100644
--- a/var/spack/repos/builtin/packages/libvorbis/package.py
+++ b/var/spack/repos/builtin/packages/libvorbis/package.py
@@ -22,5 +22,8 @@ class Libvorbis(AutotoolsPackage):
depends_on("pkgconfig", type="build")
+ def patch(self):
+ filter_file(r"-force_cpusubtype_ALL", "", "configure", string=True)
+
# `make check` crashes when run in parallel
parallel = False