mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 01:11:44 +00:00
Get rid of -Wdeclaration-after-statement as we're only targeting C99 and C++ now. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@4746 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
bf3c0de73a
commit
0e606700d6
2 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@ LOCAL_MODULE := duke
|
|||
|
||||
# -O2 -fvisibility=hidden
|
||||
|
||||
LOCAL_CFLAGS := -fvisibility=hidden -fPIC -Wimplicit -Wdeclaration-after-statement -O2 -funswitch-loops -fomit-frame-pointer -DNDEBUG -DUSING_LTO -flto -fno-stack-protector -W -Werror-implicit-function-declaration -Wpointer-arith -Wextra -funsigned-char -fno-strict-aliasing -D_FORTIFY_SOURCE=0 -fjump-tables -Wno-unused-result -Wno-char-subscripts -pthread -DHAVE_INTTYPES -D_GNU_SOURCE=1 -D_REENTRANT -DRENDERTYPESDL=1 -Wno-strict-overflow -DUSE_OPENGL -Wno-attributes
|
||||
LOCAL_CFLAGS := -fvisibility=hidden -fPIC -Wimplicit -O2 -funswitch-loops -fomit-frame-pointer -DNDEBUG -DUSING_LTO -flto -fno-stack-protector -W -Werror-implicit-function-declaration -Wpointer-arith -Wextra -funsigned-char -fno-strict-aliasing -D_FORTIFY_SOURCE=0 -fjump-tables -Wno-unused-result -Wno-char-subscripts -pthread -DHAVE_INTTYPES -D_GNU_SOURCE=1 -D_REENTRANT -DRENDERTYPESDL=1 -Wno-strict-overflow -DUSE_OPENGL -Wno-attributes
|
||||
|
||||
#-DUSE_LIBPNG
|
||||
|
||||
|
|
|
@ -266,7 +266,7 @@ ifneq ($(RELEASE)$(DEBUGANYWAY),10)
|
|||
OPTIMIZATIONS += $(DEBUGFLAG)
|
||||
endif
|
||||
|
||||
CONLYFLAGS=-std=gnu99 -Wimplicit -Wdeclaration-after-statement
|
||||
CONLYFLAGS=-std=gnu99 -Wimplicit
|
||||
CPPONLYFLAGS= -fno-exceptions -fno-rtti -Wno-write-strings
|
||||
ASFORMAT=elf$(SYSBITS)
|
||||
ASFLAGS=-s -f $(ASFORMAT) #-g
|
||||
|
|
Loading…
Reference in a new issue