Flex v2.6.4 conflicts with gcc@7.2.0 (#6819)

This commit is contained in:
stefanosoffia 2018-01-03 16:46:57 +01:00 committed by Adam J. Stewart
parent d466d8f3d3
commit 2ed914aa1b

View File

@ -53,6 +53,10 @@ 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.
# See issue #219; https://github.com/westes/flex/issues/219
conflicts('%gcc@7.2.0:', when='@2.6.4')
def url_for_version(self, version):
url = "https://github.com/westes/flex"
if version >= Version('2.6.1'):