qt: add conflict for old gcc (#16904)
Co-authored-by: Sinan81 <Sinan81@github>
This commit is contained in:
parent
6035b32748
commit
7f2db5c5b0
1 changed files with 4 additions and 0 deletions
|
@ -151,6 +151,10 @@ class Qt(Package):
|
|||
depends_on("double-conversion", when='@5.7:')
|
||||
depends_on("pcre2+multibyte", when='@5.9:')
|
||||
|
||||
# gcc@4 is not supported as of Qt@5.14
|
||||
# https://doc.qt.io/qt-5.14/supported-platforms.html
|
||||
conflicts('%gcc@:4.99', when='@5.14:')
|
||||
|
||||
# Non-macOS dependencies and special macOS constraints
|
||||
if MACOS_VERSION is None:
|
||||
depends_on("fontconfig", when='freetype=spack')
|
||||
|
|
Loading…
Reference in a new issue