CPLUSPLUS mode by default in Makefile.common, C99 otherwise. DONT_BUILD.

git-svn-id: https://svn.eduke32.com/eduke32@4704 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2014-10-29 17:07:21 +00:00
parent ce210a9fd7
commit 0dcca1f305
1 changed files with 2 additions and 2 deletions

View File

@ -197,7 +197,7 @@ endif
# OPTLEVEL - 0..3 = GCC optimization strategy # OPTLEVEL - 0..3 = GCC optimization strategy
# LTO - 1 = enable link-time optimization, for GCC 4.5 and up # LTO - 1 = enable link-time optimization, for GCC 4.5 and up
# #
CPLUSPLUS?=0 CPLUSPLUS?=1
RELEASE?=1 RELEASE?=1
DEBUGANYWAY?=0 DEBUGANYWAY?=0
KRANDDEBUG?=0 KRANDDEBUG?=0
@ -264,7 +264,7 @@ ifneq ($(RELEASE)$(DEBUGANYWAY),10)
OPTIMIZATIONS += $(DEBUGFLAG) OPTIMIZATIONS += $(DEBUGFLAG)
endif endif
CONLYFLAGS=-std=gnu89 -Wimplicit -Wdeclaration-after-statement CONLYFLAGS=-std=c99 -Wimplicit -Wdeclaration-after-statement
CPPONLYFLAGS= -fno-exceptions -fno-rtti -Wno-write-strings CPPONLYFLAGS= -fno-exceptions -fno-rtti -Wno-write-strings
ASFORMAT=elf$(SYSBITS) ASFORMAT=elf$(SYSBITS)
ASFLAGS=-s -f $(ASFORMAT) #-g ASFLAGS=-s -f $(ASFORMAT) #-g