summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-06-10 18:54:10 +0000
committerjoerg <joerg@pkgsrc.org>2013-06-10 18:54:10 +0000
commit150e8573f8c28becdbc606b98197cb3f5d0fe928 (patch)
treef88093cbc1555d3adf927c8bd702e4cf29333001 /cad
parent399b38a49e00b6efb3901e033fe320d09b3f5d10 (diff)
downloadpkgsrc-150e8573f8c28becdbc606b98197cb3f5d0fe928.tar.gz
Don't complain about the C++11 narrowing rules for this, when building
with clang.
Diffstat (limited to 'cad')
-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.