From 0dcca1f305a3a0f7f99c20451e74743cda139810 Mon Sep 17 00:00:00 2001 From: terminx Date: Wed, 29 Oct 2014 17:07:21 +0000 Subject: [PATCH] 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 --- polymer/eduke32/Makefile.common | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/polymer/eduke32/Makefile.common b/polymer/eduke32/Makefile.common index e239e9a4c..e8067203d 100644 --- a/polymer/eduke32/Makefile.common +++ b/polymer/eduke32/Makefile.common @@ -197,7 +197,7 @@ endif # OPTLEVEL - 0..3 = GCC optimization strategy # LTO - 1 = enable link-time optimization, for GCC 4.5 and up # -CPLUSPLUS?=0 +CPLUSPLUS?=1 RELEASE?=1 DEBUGANYWAY?=0 KRANDDEBUG?=0 @@ -264,7 +264,7 @@ ifneq ($(RELEASE)$(DEBUGANYWAY),10) OPTIMIZATIONS += $(DEBUGFLAG) endif -CONLYFLAGS=-std=gnu89 -Wimplicit -Wdeclaration-after-statement +CONLYFLAGS=-std=c99 -Wimplicit -Wdeclaration-after-statement CPPONLYFLAGS= -fno-exceptions -fno-rtti -Wno-write-strings ASFORMAT=elf$(SYSBITS) ASFLAGS=-s -f $(ASFORMAT) #-g