summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kuhn <suraia@ikkoku.de>2018-01-20 21:36:45 +0100
committerMassimiliano Culpo <massimiliano.culpo@gmail.com>2018-01-20 21:36:45 +0100
commit9f0e17a5389e6e09d0198785241ff5d98b42498d (patch)
tree32315757ba182c585f591fa0cdcb2a9262ac16b2
parent9d84e7eb5c2847c029f0c5bb020eab169293c1cd (diff)
downloadspack-9f0e17a5389e6e09d0198785241ff5d98b42498d.tar.gz
spack-9f0e17a5389e6e09d0198785241ff5d98b42498d.tar.bz2
spack-9f0e17a5389e6e09d0198785241ff5d98b42498d.tar.xz
spack-9f0e17a5389e6e09d0198785241ff5d98b42498d.zip
flex: restrict GCC conflict to newer Ubuntu releases (#6963)
flex 2.6.4 compiles fine with GCC 7 on (at least) Ubuntu 16.04 and Fedora 27.
-rw-r--r--var/spack/repos/builtin/packages/flex/package.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/flex/package.py b/var/spack/repos/builtin/packages/flex/package.py
index a4a9718e04..25e895d921 100644
--- a/var/spack/repos/builtin/packages/flex/package.py
+++ b/var/spack/repos/builtin/packages/flex/package.py
@@ -53,9 +53,9 @@ class Flex(AutotoolsPackage):
depends_on('automake', type='build', when='@:2.6.0')
depends_on('libtool', type='build', when='@:2.6.0')
- # Build issue for v2.6.4 when gcc 7.2.0 is used.
+ # Build issue for v2.6.4 when gcc 7.2.0 is used on Ubuntu 17.10.
# See issue #219; https://github.com/westes/flex/issues/219
- conflicts('%gcc@7.2.0:', when='@2.6.4')
+ conflicts('%gcc@7.2.0: os=ubuntu17.10', when='@2.6.4')
def url_for_version(self, version):
url = "https://github.com/westes/flex"