diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2018-11-29 19:23:12 +0800 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2018-11-29 19:23:12 +0800 |
commit | 37da4b24f22646e9839848cc4082f95502c51c9b (patch) | |
tree | dc920089c979a7e7bd3a1758ae6d26d5b9f3ea2a /graphics/osg | |
parent | 1760f0a95c2284d5e284d5bcf266a1a5f005d325 (diff) | |
download | freebsd-ports-gnome-37da4b24f22646e9839848cc4082f95502c51c9b.tar.gz freebsd-ports-gnome-37da4b24f22646e9839848cc4082f95502c51c9b.tar.zst freebsd-ports-gnome-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)
Diffstat (limited to 'graphics/osg')
-rw-r--r-- | graphics/osg/Makefile | 8 |
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 \ |