Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jun 2019 18:08:53 +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: r503920 - head/games/wop
Message-ID:  <201906101808.x5AI8rna073529@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Mon Jun 10 18:08:53 2019
New Revision: 503920
URL: https://svnweb.freebsd.org/changeset/ports/503920

Log:
  Restrict the usage of -Wno-c++11-narrowing -Wno-reserved-user-defined-literal
  to clang, which is the only compiler that understands them.
  
  Approved by:	portmgr (tier-2 blanket)

Modified:
  head/games/wop/Makefile

Modified: head/games/wop/Makefile
==============================================================================
--- head/games/wop/Makefile	Mon Jun 10 17:59:25 2019	(r503919)
+++ head/games/wop/Makefile	Mon Jun 10 18:08:53 2019	(r503920)
@@ -18,12 +18,13 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 BUILD_DEPENDS=	makedepend:devel/makedepend
 
-USES=		tar:bzip2 gmake
+USES=		compiler gmake tar:bzip2
 USE_SDL=	sdl net mixer ttf image
 
 MAKE_JOBS_UNSAFE=	yes
 
-CXXFLAGS+=	-Wno-c++11-narrowing -Wno-reserved-user-defined-literal
+CXXFLAGS_clang=	-Wno-c++11-narrowing -Wno-reserved-user-defined-literal
+CXXFLAGS+=      ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
 
 DATAVERSION=	2005-12-21
 DESKTOP_ENTRIES="Worms of Prey" \



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