Added
Link Here
|
0 |
- |
1 |
--- angelscript/angelscript/projects/gnuc/Makefile.orig 2022-05-12 21:13:19 UTC |
|
|
2 |
+++ angelscript/angelscript/projects/gnuc/Makefile |
3 |
@@ -89,14 +89,8 @@ else |
4 |
CXXFLAGS += $(PLATFORM_FLAGS) |
5 |
endif |
6 |
|
7 |
-## Detect if targeting ARM CPU and if so tell assembler to accept implicit IT constructs in thumb mode |
8 |
GCC_ARCH := $(shell $(CXX) -dumpmachine) |
9 |
$(info GCC ARCH: $(GCC_ARCH)) |
10 |
-ifneq (,$(findstring arm-,$(GCC_ARCH))) |
11 |
- CXXFLAGS += -Wa,-mimplicit-it=thumb |
12 |
-else ifneq (,$(findstring armv7-, $(GCC_ARCH))) |
13 |
- CXXFLAGS += -Wa,-mimplicit-it=thumb |
14 |
-endif |
15 |
|
16 |
## toolchain |
17 |
AR ?= ar |