mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-19 15:20:27 +00:00
added -Wno-invalid-offset in Makefile
This commit is contained in:
parent
c4c862ad01
commit
cba7ed1db9
2
Makefile
2
Makefile
@ -92,6 +92,7 @@ ifeq (${TOOLCHAIN},gcc)
|
||||
CXXFLAGS_EARLY += -march=native -fPIC
|
||||
CXXFLAGS_EARLY += -W -Wall -Wextra -Werror -pedantic
|
||||
CXXFLAGS_EARLY += -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-maybe-uninitialized
|
||||
CXXFLAGS_EARLY += -Wno-invalid-offsetof
|
||||
endif
|
||||
|
||||
ifeq (${TOOLCHAIN},mingw)
|
||||
@ -99,6 +100,7 @@ ifeq (${TOOLCHAIN},mingw)
|
||||
CXXFLAGS_EARLY += -march=native
|
||||
CXXFLAGS_EARLY += -W -Wall -Wextra -Werror
|
||||
CXXFLAGS_EARLY += -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-maybe-uninitialized
|
||||
CXXFLAGS_EARLY += -Wno-invalid-offsetof
|
||||
endif
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user