Fix build on powerpc64.

PR:		231954
Submitted by:	Piotr Kubaj
Approved by:	portmgr (tier-2 blanket)
This commit is contained in:
Mark Linimon 2018-11-01 04:13:59 +00:00
parent e90829c76f
commit 0a94f777af
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=483636

View File

@ -20,12 +20,13 @@ BROKEN_armv7= fails to compile: OBULLET.cpp:41:9: constant expression evaluates
LIB_DEPENDS= libenet.so:net/enet \
libcurl.so:ftp/curl
USES= compiler:c++11-lib gmake localbase openal:al pkgconfig tar:xz
USES= compiler:c++11-lang gmake localbase openal:al pkgconfig tar:xz
GNU_CONFIGURE= yes
LLD_UNSAFE= yes
CONFIGURE_ARGS= --disable-nls # no translations ATM
USE_SDL= sdl2
CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
CXXFLAGS_powerpc64= -Wno-error=narrowing
CXXFLAGS_clang= -Wno-c++11-narrowing
PLIST_FILES= bin/${PORTNAME} \