svn commit: r486168 - head/graphics/osg
Mark Linimon
linimon at FreeBSD.org
Thu Nov 29 11:23:13 UTC 2018
Author: linimon
Date: Thu Nov 29 11:23:12 2018
New Revision: 486168
URL: https://svnweb.freebsd.org/changeset/ports/486168
Log:
-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)
Modified:
head/graphics/osg/Makefile
Modified: head/graphics/osg/Makefile
==============================================================================
--- head/graphics/osg/Makefile Thu Nov 29 11:11:40 2018 (r486167)
+++ head/graphics/osg/Makefile Thu Nov 29 11:23:12 2018 (r486168)
@@ -28,12 +28,8 @@ USES= alias cmake:outsource compiler:c++11-lang jpeg
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 \
More information about the svn-ports-all
mailing list