summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/node-js/package.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/node-js/package.py b/var/spack/repos/builtin/packages/node-js/package.py
index 55d7a72b70..b35e1d0def 100644
--- a/var/spack/repos/builtin/packages/node-js/package.py
+++ b/var/spack/repos/builtin/packages/node-js/package.py
@@ -56,6 +56,11 @@ class NodeJs(Package):
phases = ['configure', 'build', 'install']
+ # https://github.com/spack/spack/issues/19310
+ conflicts('%gcc@:4.8',
+ msg="fails to build with gcc 4.8 "
+ "(see https://github.com/spack/spack/issues/19310")
+
def setup_build_environment(self, env):
# Force use of experimental Python 3 support
env.set('PYTHON', self.spec['python'].command.path)