Explicitly specify the version of the C++ standard as which we are compiling.

git-svn-id: https://svn.eduke32.com/eduke32@6068 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2017-02-19 22:16:00 +00:00
parent 26e740c0b7
commit 05c4fa61f6

View file

@ -281,8 +281,10 @@ ifneq ($(RELEASE)$(DEBUGANYWAY),10)
OPTIMIZATIONS += $(DEBUGFLAG)
endif
CONLYFLAGS=-std=gnu99 -Wimplicit -Werror-implicit-function-declaration
CXXONLYFLAGS= -fno-exceptions -fno-rtti
CSTD:=-std=gnu99
CONLYFLAGS=$(CSTD) -Wimplicit -Werror-implicit-function-declaration
CXXSTD:=-std=gnu++03
CXXONLYFLAGS=$(CXXSTD) -fno-exceptions -fno-rtti
ASFORMAT=elf$(BITS)
ASFLAGS=-s -f $(ASFORMAT) #-g
LINKERFLAGS=