mirror of
https://github.com/wiiu-env/libwupsbackend.git
synced 2024-11-22 01:39:18 +01:00
Add -fno-exceptions -fno-rtti to CXXFLAGS instead of CFLAGS
This commit is contained in:
parent
bd10088784
commit
2eae70a247
4
Makefile
4
Makefile
@ -35,14 +35,14 @@ INCLUDES := source \
|
||||
#---------------------------------------------------------------------------------
|
||||
# options for code generation
|
||||
#---------------------------------------------------------------------------------
|
||||
CFLAGS := -Wall -Werror -save-temps -fno-exceptions -fno-rtti\
|
||||
CFLAGS := -Wall -Werror -save-temps\
|
||||
-ffunction-sections -fdata-sections \
|
||||
$(MACHDEP) \
|
||||
$(BUILD_CFLAGS)
|
||||
|
||||
CFLAGS += $(INCLUDE) -D__WIIU__
|
||||
|
||||
CXXFLAGS := $(CFLAGS) -std=c++20
|
||||
CXXFLAGS := $(CFLAGS) -std=c++20 -fno-exceptions -fno-rtti
|
||||
|
||||
ASFLAGS := $(MACHDEP)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user