diff options
author | That-Canadian <poole.chris.11@gmail.com> | 2017-07-14 21:35:50 -0400 |
---|---|---|
committer | That-Canadian <poole.chris.11@gmail.com> | 2017-07-14 21:35:50 -0400 |
commit | 6c9b69a4b67e064dacea364f842bf15631d7a5e6 (patch) | |
tree | f5afa578f218d83245363b68bfb502f517698af6 /tmk_core | |
parent | e2e0f5d6d13f6e4d2528ee9ff5e48f896d637092 (diff) | |
parent | 5412229603c1b16051776e81bed57697adf339e2 (diff) |
Merge branch 'master' into minidox
Diffstat (limited to 'tmk_core')
-rw-r--r-- | tmk_core/native.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tmk_core/native.mk b/tmk_core/native.mk index 50232ee9b7..530b50b84a 100644 --- a/tmk_core/native.mk +++ b/tmk_core/native.mk @@ -1,3 +1,5 @@ +SYSTEM_TYPE := $(shell gcc -dumpmachine) + CC = gcc OBJCOPY = OBJDUMP = @@ -14,6 +16,9 @@ COMPILEFLAGS += -funsigned-bitfields COMPILEFLAGS += -ffunction-sections COMPILEFLAGS += -fdata-sections COMPILEFLAGS += -fshort-enums +ifneq ($(findstring mingw, ${SYSTEM_TYPE}),) +COMPILEFLAGS += -mno-ms-bitfields +endif CFLAGS += $(COMPILEFLAGS) CFLAGS += -fno-inline-small-functions |