summaryrefslogtreecommitdiff
path: root/cad/openscad
diff options
context:
space:
mode:
authorjoerg <joerg>2013-06-10 18:54:10 +0000
committerjoerg <joerg>2013-06-10 18:54:10 +0000
commit5ccf6322dfc92b2d1838b53350a503d975fc3503 (patch)
treef88093cbc1555d3adf927c8bd702e4cf29333001 /cad/openscad
parent269b155721e2a81390d984fb622cc0b60993d960 (diff)
downloadpkgsrc-5ccf6322dfc92b2d1838b53350a503d975fc3503.tar.gz
Don't complain about the C++11 narrowing rules for this, when building
with clang.
Diffstat (limited to 'cad/openscad')
-rw-r--r--cad/openscad/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/cad/openscad/Makefile b/cad/openscad/Makefile
index a4b90fc1302..78407565a88 100644
--- a/cad/openscad/Makefile
+++ b/cad/openscad/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2013/06/06 12:54:07 wiz Exp $
+# $NetBSD: Makefile,v 1.25 2013/06/10 18:54:10 joerg Exp $
#
PKGNAME= openscad-2011.12
@@ -37,7 +37,7 @@ pre-build:
.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang)
-_WRAP_EXTRA_ARGS.CXX+= -std=c++11
+_WRAP_EXTRA_ARGS.CXX+= -std=c++11 -Wno-c++11-narrowing
.endif
# DragonFly requires FlexLexer.h from pkgsrc - base doesn't cut it.