aboutsummaryrefslogtreecommitdiff
path: root/graphics/osg
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2018-11-29 11:23:12 +0000
committerMark Linimon <linimon@FreeBSD.org>2018-11-29 11:23:12 +0000
commit37da4b24f22646e9839848cc4082f95502c51c9b (patch)
treedc920089c979a7e7bd3a1758ae6d26d5b9f3ea2a /graphics/osg
parent1760f0a95c2284d5e284d5bcf266a1a5f005d325 (diff)
downloadports-37da4b24f22646e9839848cc4082f95502c51c9b.tar.gz
ports-37da4b24f22646e9839848cc4082f95502c51c9b.zip
-Wno-narrowing is supported by Clang. Make unconditional and add a
comment why it's necessary. PR: 232826 Submitted by: Piotr Kubaj Reported by: jbeich Approved by: portmgr (tier-2 blanket)
Notes
Notes: svn path=/head/; revision=486168
Diffstat (limited to 'graphics/osg')
-rw-r--r--graphics/osg/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/graphics/osg/Makefile b/graphics/osg/Makefile
index 6fc71be8dd80..9768540f61be 100644
--- a/graphics/osg/Makefile
+++ b/graphics/osg/Makefile
@@ -28,12 +28,8 @@ USES= alias cmake:outsource compiler:c++11-lang jpeg pkgconfig
USE_GL= gl glu
USE_XORG= x11
USE_LDCONFIG= yes
-CXXFLAGS_mips= -Wno-narrowing
-CXXFLAGS_mips64= -Wno-narrowing
-CXXFLAGS_powerpc64= -Wno-narrowing
-CXXFLAGS_powerpc= -Wno-narrowing
-CXXFLAGS_powerpcspe= -Wno-narrowing
-CXXFLAGS_sparc64= -Wno-narrowing
+# needed to ensure build on gcc-based archs; harmless otherwise
+CXXFLAGS+= -Wno-narrowing
PLIST_SUB= OSG_VERSION=${PORTVERSION} \
OSG_SHLIBVER=131 \