[Bug 242188] games/tome4: fix build on GCC architectures
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Nov 24 12:50:58 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242188
Bug ID: 242188
Summary: games/tome4: fix build on GCC architectures
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: lifanov at freebsd.org
Reporter: pkubaj at FreeBSD.org
Assignee: lifanov at freebsd.org
Flags: maintainer-feedback?(lifanov at freebsd.org)
Created attachment 209383
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=209383&action=edit
patch
Use C++11 compiler:
==== Building te4-wfc (release) ====
lua_wfc.cpp
g++ -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc9
-Wl,-rpath=/usr/local/lib/gcc9 -O2 -pipe -fstack-protector-strong
-Wl,-rpath=/usr/local/lib/gcc9 -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_wf
c.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"
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list