diff --git a/superhax/Makefile b/superhax/Makefile index c284eb3..7828928 100644 --- a/superhax/Makefile +++ b/superhax/Makefile @@ -33,13 +33,14 @@ #--------------------------------------------------------------------------------- ARCH := -march=armv5te -mtune=arm946e-s -mfloat-abi=soft -mtp=soft -marm -mthumb-interwork -CFLAGS := $(ARCH) -std=c11 -O2 -g -flto -fstrict-aliasing -mword-relocations -fomit-frame-pointer \ - -ffast-math -ffunction-sections -Wall -Wextra +CFLAGS := $(ARCH) -std=c11 -O2 -g -flto -mword-relocations -ffunction-sections \ + -Wall -Wextra -Wno-unused-function CFLAGS += $(INCLUDE) $(DEFINES) -CXXFLAGS := $(ARCH) -std=c11 -O2 -g -flto -fno-rtti -fno-exceptions -fstrict-aliasing \ - -mword-relocations -fomit-frame-pointer -ffast-math -ffunction-sections -Wall -Wextra +CXXFLAGS := $(ARCH) -std=c++14 -O2 -g -flto -fno-rtti -fno-exceptions \ + -mword-relocations -ffunction-sections -Wall -Wextra \ + -Wno-unused-function CXXFLAGS += $(INCLUDE) $(DEFINES)