mirror of
https://github.com/wiiu-env/EnvironmentLoader.git
synced 2024-12-27 21:41:56 +01:00
Only use -fno-exceptions -fno-rtti
flags for c files
This commit is contained in:
parent
4d8592c3f9
commit
a2dededf64
4
Makefile
4
Makefile
@ -31,12 +31,12 @@ INCLUDES := source
|
||||
#-------------------------------------------------------------------------------
|
||||
# options for code generation
|
||||
#-------------------------------------------------------------------------------
|
||||
CFLAGS := -g -Wall -O2 -ffunction-sections -fno-exceptions -fno-rtti\
|
||||
CFLAGS := -g -Wall -O2 -ffunction-sections \
|
||||
$(MACHDEP)
|
||||
|
||||
CFLAGS += $(INCLUDE) -D__WIIU__ -D__WUT__
|
||||
|
||||
CXXFLAGS := $(CFLAGS) -std=c++20
|
||||
CXXFLAGS := $(CFLAGS) -std=c++20 -fno-exceptions -fno-rtti
|
||||
|
||||
ifeq ($(DEBUG),1)
|
||||
CXXFLAGS += -DDEBUG -g
|
||||
|
Loading…
Reference in New Issue
Block a user