summaryrefslogtreecommitdiff
path: root/multimedia/nymphcast/files/patch-angelscript_angelscript_projects_gnuc_Makefile
blob: bc8359c1e348bb0e07904489cbafb9ae25ff3ef0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- 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