summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/patchelf/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/patchelf/package.py')
-rw-r--r--var/spack/repos/builtin/packages/patchelf/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/patchelf/package.py b/var/spack/repos/builtin/packages/patchelf/package.py
index d5992b8e64..2630085d4e 100644
--- a/var/spack/repos/builtin/packages/patchelf/package.py
+++ b/var/spack/repos/builtin/packages/patchelf/package.py
@@ -39,6 +39,9 @@ class Patchelf(AutotoolsPackage):
conflicts("%gcc@:6", when="@0.14:", msg="Requires C++17 support")
conflicts("%clang@:3", when="@0.14:", msg="Requires C++17 support")
+ # GCC 7.5 doesn't have __cpp_deduction_guides >= 201606
+ patch("513.patch", when="@0.18: %gcc@:7")
+
def url_for_version(self, version):
if version < Version("0.12"):
return "https://nixos.org/releases/patchelf/patchelf-{0}/patchelf-{1}.tar.gz".format(