Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Nov 2018 11:23:12 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r486168 - head/graphics/osg
Message-ID:  <201811291123.wATBNCuu070062@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811291123.wATBNCuu070062>