summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/flatcc/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/flatcc/package.py b/var/spack/repos/builtin/packages/flatcc/package.py
index ce3fc222fc..a9d3617c9b 100644
--- a/var/spack/repos/builtin/packages/flatcc/package.py
+++ b/var/spack/repos/builtin/packages/flatcc/package.py
@@ -37,6 +37,9 @@ class Flatcc(CMakePackage):
spec = self.spec
args = []
+ # allow flatcc to be built with more compilers
+ args.append('-DFLATCC_ALLOW_WERROR=OFF')
+
if '+shared' in spec:
args.append('-DBUILD_SHARED_LIBS=ON')
args.append('-DFLATCC_INSTALL=ON')