From 2728603fe6d73e805a539d337fd01051c46ca806 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Fri, 19 Nov 2021 18:41:02 +0000 Subject: Move tmk_core/common/ (#13918) --- tmk_core/native.mk | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 tmk_core/native.mk (limited to 'tmk_core/native.mk') diff --git a/tmk_core/native.mk b/tmk_core/native.mk deleted file mode 100644 index eb2424ec5c..0000000000 --- a/tmk_core/native.mk +++ /dev/null @@ -1,34 +0,0 @@ -SYSTEM_TYPE := $(shell gcc -dumpmachine) -GCC_VERSION := $(shell gcc --version 2>/dev/null) - -CC = $(CC_PREFIX) gcc -OBJCOPY = -OBJDUMP = -SIZE = -AR = -NM = -HEX = -EEP = -BIN = - - -COMPILEFLAGS += -funsigned-char -ifeq ($(findstring clang, ${GCC_VERSION}),) -COMPILEFLAGS += -funsigned-bitfields -endif -COMPILEFLAGS += -ffunction-sections -COMPILEFLAGS += -fdata-sections -COMPILEFLAGS += -fshort-enums -ifneq ($(findstring mingw, ${SYSTEM_TYPE}),) -COMPILEFLAGS += -mno-ms-bitfields -endif - -CFLAGS += $(COMPILEFLAGS) -ifeq ($(findstring clang, ${GCC_VERSION}),) -CFLAGS += -fno-inline-small-functions -endif -CFLAGS += -fno-strict-aliasing - -CXXFLAGS += $(COMPILEFLAGS) -CXXFLAGS += -fno-exceptions -CXXFLAGS += -std=gnu++11 -- cgit v1.2.3