--- angelscript/angelscript/projects/gnuc/Makefile.orig 2022-05-12 21:13:19 UTC +++ angelscript/angelscript/projects/gnuc/Makefile @@ -89,14 +89,8 @@ else CXXFLAGS += $(PLATFORM_FLAGS) endif -## Detect if targeting ARM CPU and if so tell assembler to accept implicit IT constructs in thumb mode GCC_ARCH := $(shell $(CXX) -dumpmachine) $(info GCC ARCH: $(GCC_ARCH)) -ifneq (,$(findstring arm-,$(GCC_ARCH))) - CXXFLAGS += -Wa,-mimplicit-it=thumb -else ifneq (,$(findstring armv7-, $(GCC_ARCH))) - CXXFLAGS += -Wa,-mimplicit-it=thumb -endif ## toolchain AR ?= ar