mirror of
https://github.com/devkitPro/wut.git
synced 2026-09-12 13:16:04 -05:00
Adjust C/C++ flags (disable exceptions/rtti)
This commit is contained in:
4
Makefile
4
Makefile
@@ -37,14 +37,14 @@ INCLUDES := include \
|
||||
#---------------------------------------------------------------------------------
|
||||
# options for code generation
|
||||
#---------------------------------------------------------------------------------
|
||||
CFLAGS := -g -Wall -Werror -save-temps \
|
||||
CFLAGS := -g -Wall -Werror \
|
||||
-ffunction-sections -fdata-sections \
|
||||
$(MACHDEP) \
|
||||
$(BUILD_CFLAGS)
|
||||
|
||||
CFLAGS += $(INCLUDE) -D__WIIU__ -D__WUT__
|
||||
|
||||
CXXFLAGS := $(CFLAGS) -std=gnu++17
|
||||
CXXFLAGS := $(CFLAGS) -std=gnu++17 -fno-exceptions -fno-rtti
|
||||
|
||||
ASFLAGS := -g $(MACHDEP)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user