mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-18 22:51:50 +00:00
Makefile: Unfactor CWARNS from COMPILER_*.
git-svn-id: https://svn.eduke32.com/eduke32@6084 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
d15251b96f
commit
7fbee490e5
1 changed files with 5 additions and 5 deletions
10
Common.mak
10
Common.mak
|
@ -580,7 +580,7 @@ endif
|
|||
|
||||
COMMONFLAGS+= -funsigned-char -fno-strict-aliasing $(F_JUMP_TABLES)
|
||||
|
||||
COMPILERFLAGS+= $(CWARNS) -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
|
||||
COMPILERFLAGS+= -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
|
||||
|
||||
ifeq (0,$(NETCODE))
|
||||
COMPILERFLAGS+= -DNETCODE_DISABLE
|
||||
|
@ -1017,10 +1017,10 @@ ifneq (,$(VC_REV)$(VC_REV_CUSTOM))
|
|||
REVFLAG += -DREV="\"r$(VC_REV)$(VC_REV_CUSTOM)\""
|
||||
endif
|
||||
|
||||
COMPILER_C=$(CC) $(CONLYFLAGS) $(COMMONFLAGS) $(COMPILERFLAGS)
|
||||
COMPILER_CXX=$(CXX) $(CXXONLYFLAGS) $(COMMONFLAGS) $(COMPILERFLAGS)
|
||||
COMPILER_OBJC=$(COBJC) $(CONLYFLAGS) $(COMMONFLAGS) $(COMPILERFLAGS)
|
||||
COMPILER_OBJCXX=$(COBJCXX) $(CXXONLYFLAGS) $(COMMONFLAGS) $(COMPILERFLAGS)
|
||||
COMPILER_C=$(CC) $(CONLYFLAGS) $(COMMONFLAGS) $(CWARNS) $(COMPILERFLAGS)
|
||||
COMPILER_CXX=$(CXX) $(CXXONLYFLAGS) $(COMMONFLAGS) $(CWARNS) $(COMPILERFLAGS)
|
||||
COMPILER_OBJC=$(COBJC) $(CONLYFLAGS) $(COMMONFLAGS) $(CWARNS) $(COMPILERFLAGS)
|
||||
COMPILER_OBJCXX=$(COBJCXX) $(CXXONLYFLAGS) $(COMMONFLAGS) $(CWARNS) $(COMPILERFLAGS)
|
||||
LINKER=$(L_CXX) $(CXXONLYFLAGS) $(L_CXXONLYFLAGS) $(COMMONFLAGS) $(LINKERFLAGS)
|
||||
ifneq ($(CPLUSPLUS),0)
|
||||
COMPILER_C=$(COMPILER_CXX)
|
||||
|
|
Loading…
Reference in a new issue