Date: Tue, 18 Sep 2018 12:24:29 +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: r480017 - head/games/linwarrior Message-ID: <201809181224.w8ICOTdg093946@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: linimon Date: Tue Sep 18 12:24:29 2018 New Revision: 480017 URL: https://svnweb.freebsd.org/changeset/ports/480017 Log: Fix problem with clang-specific flags being invoked on gcc-bases archs (e.g. powerpc64.) While here, pet portlint. Approved by: portmgr (tier-2 blanket) Modified: head/games/linwarrior/Makefile Modified: head/games/linwarrior/Makefile ============================================================================== --- head/games/linwarrior/Makefile Tue Sep 18 12:18:24 2018 (r480016) +++ head/games/linwarrior/Makefile Tue Sep 18 12:24:29 2018 (r480017) @@ -12,12 +12,13 @@ DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Navigate a mech through a 3D world and fire at enemies -USES= gmake openal:al,alut +USES= compiler gmake openal:al,alut USE_GL= gl glu USE_SDL= sdl - -CFLAGS+= -Wno-c++11-narrowing LLD_UNSAFE= yes + +CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} +CXXFLAGS_clang= -Wno-c++11-narrowing WRKSRC= ${WRKDIR}/${PORTNAME}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809181224.w8ICOTdg093946>