HomeFreeBSD

games/tome4: fix build on GCC architectures

Description

games/tome4: fix build on GCC architectures

Use C++11 compiler:

Building te4-wfc (release)

lua_wfc.cpp
g++ -O2 -pipe -fstack-protector-strong -O2 -pipe -fstack-protector-strong -fno-strict -aliasing -std=gnu89 -MMD -MP -DGLEW_STATIC -DNDEBUG=1 -I../src -I../src/luasocket -I../src/fov -I../src/expat -I../src/lxp -I../src/libtcod_import -I../src/physfs -I../src/zlib -I../src/bzip2 -I../src/lua -I../../../../../../../../include -pthread -O3 -std=c++11 -o "../obj/Release/te4-wfc/lua_wfc.o" -MF ../obj/Release/te4-wfc/lua_wfc.d -c "../src/wfc/lua_wfc.cpp"
cc1plus: warning: command line option "-std=gnu89" is valid for C/ObjC but not for C++
cc1plus: error: unrecognized command line option "-std=c++11"

PR: 242188
Approved by: lifanov (maintainer timeout)

Details

Provenance
pkubajAuthored on
Parents
rP519603: security/onionscan: Unbreak on aarch64
Branches
Unknown
Tags
Unknown