1 SYSTEM_TYPE := $(shell gcc -dumpmachine)
14 COMPILEFLAGS += -funsigned-char
15 COMPILEFLAGS += -funsigned-bitfields
16 COMPILEFLAGS += -ffunction-sections
17 COMPILEFLAGS += -fdata-sections
18 COMPILEFLAGS += -fshort-enums
19 ifneq ($(findstring mingw, ${SYSTEM_TYPE}),)
20 COMPILEFLAGS += -mno-ms-bitfields
23 CFLAGS += $(COMPILEFLAGS)
24 CFLAGS += -fno-inline-small-functions
25 CFLAGS += -fno-strict-aliasing
27 CPPFLAGS += $(COMPILEFLAGS)
28 CPPFLAGS += -fno-exceptions
29 CPPFLAGS += -std=gnu++11