mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
Makefile: Move "-Wimplicit -Werror-implicit-function-declaration" from CONLYFLAGS to a new CONLYWARNS.
git-svn-id: https://svn.eduke32.com/eduke32@6085 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
7fbee490e5
commit
ebf78c721d
1 changed files with 5 additions and 3 deletions
|
@ -282,7 +282,7 @@ ifneq ($(RELEASE)$(DEBUGANYWAY),10)
|
|||
endif
|
||||
|
||||
CSTD:=-std=gnu99
|
||||
CONLYFLAGS=$(CSTD) -Wimplicit -Werror-implicit-function-declaration
|
||||
CONLYFLAGS=$(CSTD)
|
||||
CXXSTD:=-std=gnu++03
|
||||
CXXONLYFLAGS=$(CXXSTD) -fno-exceptions -fno-rtti
|
||||
ASFORMAT=elf$(BITS)
|
||||
|
@ -546,6 +546,8 @@ CWARNS = -W -Wall \
|
|||
#-Wcast-align \
|
||||
#-Waddress
|
||||
|
||||
CONLYWARNS = -Wimplicit -Werror-implicit-function-declaration
|
||||
|
||||
ifneq (0,$(CLANG))
|
||||
CWARNS+= -Wno-unused-value -Wno-parentheses -Wno-unknown-warning-option
|
||||
else
|
||||
|
@ -1017,9 +1019,9 @@ ifneq (,$(VC_REV)$(VC_REV_CUSTOM))
|
|||
REVFLAG += -DREV="\"r$(VC_REV)$(VC_REV_CUSTOM)\""
|
||||
endif
|
||||
|
||||
COMPILER_C=$(CC) $(CONLYFLAGS) $(COMMONFLAGS) $(CWARNS) $(COMPILERFLAGS)
|
||||
COMPILER_C=$(CC) $(CONLYFLAGS) $(COMMONFLAGS) $(CWARNS) $(CONLYWARNS) $(COMPILERFLAGS)
|
||||
COMPILER_CXX=$(CXX) $(CXXONLYFLAGS) $(COMMONFLAGS) $(CWARNS) $(COMPILERFLAGS)
|
||||
COMPILER_OBJC=$(COBJC) $(CONLYFLAGS) $(COMMONFLAGS) $(CWARNS) $(COMPILERFLAGS)
|
||||
COMPILER_OBJC=$(COBJC) $(CONLYFLAGS) $(COMMONFLAGS) $(CWARNS) $(CONLYWARNS) $(COMPILERFLAGS)
|
||||
COMPILER_OBJCXX=$(COBJCXX) $(CXXONLYFLAGS) $(COMMONFLAGS) $(CWARNS) $(COMPILERFLAGS)
|
||||
LINKER=$(L_CXX) $(CXXONLYFLAGS) $(L_CXXONLYFLAGS) $(COMMONFLAGS) $(LINKERFLAGS)
|
||||
ifneq ($(CPLUSPLUS),0)
|
||||
|
|
Loading…
Reference in a new issue