This commit is contained in:
Florian Eich 2021-03-23 16:25:02 -07:00 committed by GitHub
commit e6ab8c555e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 706 additions and 1 deletions

View file

@ -90,7 +90,7 @@ C_CXX_FLAGS ?= -Wall -Wl,-EL -nostdlib $(EXTRA_C_CXX_FLAGS)
# Flags for C only
CFLAGS ?= $(C_CXX_FLAGS) -std=gnu99 $(EXTRA_CFLAGS)
# Flags for C++ only
CXXFLAGS ?= $(C_CXX_FLAGS) -std=c++0x -fno-exceptions -fno-rtti $(EXTRA_CXXFLAGS)
CXXFLAGS ?= $(C_CXX_FLAGS) -std=gnu++11 -fno-exceptions -fno-rtti $(EXTRA_CXXFLAGS)
# these aren't all technically preprocesor args, but used by all 3 of C, C++, assembler
CPPFLAGS += -mlongcalls -mtext-section-literals