mirror of
https://github.com/SWG-Source/src.git
synced 2026-01-15 23:05:01 -05:00
src will now compile with gcc 7, 8, and 9. Tested on current openSUSE 15.2 VM as well as Debian 11 with gcc 9.4
This commit is contained in:
@@ -115,7 +115,7 @@ elseif (UNIX)
|
||||
set(CMAKE_CXX_FLAGS "-m32 -pipe -march=native -mtune=native \
|
||||
-Wformat -Wno-overloaded-virtual -Wno-missing-braces -Wno-format \
|
||||
-Wno-write-strings -Wno-unknown-pragmas \
|
||||
-Wno-uninitialized -Wno-reorder -Wno-tautological-constant-out-of-range-compare -Wno-stringop-overflow")
|
||||
-Wno-uninitialized -Wno-reorder -Wno-tautological-constant-out-of-range-compare -Wno-stringop-overflow -Wno-address-of-packed-member")
|
||||
|
||||
add_definitions(-DLINUX -D_REENTRANT -Dlinux -D_USING_STL -D_GNU_SOURCE -D_XOPEN_SOURCE=500 -U_FORTIFY_SOURCE)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user