summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/gmt/package.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/gmt/package.py b/var/spack/repos/builtin/packages/gmt/package.py
index 18f19e3417..3637f6411c 100644
--- a/var/spack/repos/builtin/packages/gmt/package.py
+++ b/var/spack/repos/builtin/packages/gmt/package.py
@@ -62,6 +62,10 @@ class Gmt(Package):
depends_on('graphicsmagick', type='test')
+ # https://github.com/spack/spack/issues/26661
+ conflicts('%gcc@11:', when='@:5',
+ msg='GMT 5 cannot be built with GCC 11+, try a newer GMT or older GCC')
+
# https://github.com/GenericMappingTools/gmt/pull/3603
patch('regexp.patch', when='@6.1.0')
patch('type.patch', when='@4.5.9')