MFH: r498288
Fix build on GCC-based architectures by setting -Wno-reserved-user-defined-literal only for clang. While here, pet portlint (add 'gl' to USES). Approved by: portmgr (tier-2 blanket)
This commit is contained in:
parent
2e578cd3ed
commit
4728eb0006
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/branches/2019Q2/; revision=498289
@ -23,7 +23,8 @@ GH_ACCOUNT= Bertram25
|
||||
GH_PROJECT= ValyriaTear
|
||||
GH_TAGNAME= ${PORTVERSION}-gcc5 # contains relevant tolua++ fixes
|
||||
|
||||
USES= alias cmake gettext-tools iconv lua:51 openal
|
||||
USES= alias cmake compiler gettext-tools gl iconv lua:51 \
|
||||
openal
|
||||
CMAKE_ARGS= -DUSE_PCH_COMPILATION=OFF
|
||||
USE_SDL= sdl image ttf
|
||||
USE_GL= gl glu
|
||||
@ -31,7 +32,8 @@ USE_XORG= x11 xext sm ice
|
||||
INSTALLS_ICONS= yes
|
||||
LLD_UNSAFE= yes
|
||||
|
||||
CXXFLAGS+= -Wno-reserved-user-defined-literal
|
||||
CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
|
||||
CXXFLAGS_clang= -Wno-reserved-user-defined-literal
|
||||
|
||||
PORTDOCS= *
|
||||
PORTDATA= *
|
||||
|
Loading…
Reference in New Issue
Block a user