mirror of
https://git.freebsd.org/ports.git
synced 2025-06-05 12:56:28 -04:00
games/kuklomenos: Fix build with Clang 6
background.cc:69:6: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'int' in initializer list [-Wc++11-narrowing] (colour & 0xff000000) >> 24, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ http://beefy12.nyi.freebsd.org/data/head-amd64-default/p475478_s336801/logs/errors/kuklomenos-0.4.5_4.log
This commit is contained in:
parent
4f6bece540
commit
a3db0cb8ec
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=475880
1 changed files with 3 additions and 0 deletions
|
@ -19,9 +19,12 @@ OPTIONS_DEFINE= VORBIS
|
||||||
OPTIONS_DEFAULT= VORBIS
|
OPTIONS_DEFAULT= VORBIS
|
||||||
OPTIONS_SUB= yes
|
OPTIONS_SUB= yes
|
||||||
|
|
||||||
|
USES= compiler
|
||||||
USE_SDL= sdl
|
USE_SDL= sdl
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
|
|
||||||
|
CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
|
||||||
|
CXXFLAGS_clang= -Wno-c++11-narrowing
|
||||||
CPPFLAGS+= -I${LOCALBASE}/include
|
CPPFLAGS+= -I${LOCALBASE}/include
|
||||||
LDFLAGS+= -lpthread -L${LOCALBASE}/lib
|
LDFLAGS+= -lpthread -L${LOCALBASE}/lib
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue