--- Fairy-Stockfish-fairy_sf_14/src/Makefile.orig
+++ Fairy-Stockfish-fairy_sf_14/src/Makefile
@@ -359,29 +359,10 @@
 
 ifeq ($(COMP),gcc)
 	comp=gcc
-	CXX=g++
 	CXXFLAGS += -Wextra -Wshadow
 	ifeq ($(largeboards),no)
 		CXXFLAGS += -pedantic
 	endif
-
-	ifeq ($(arch),$(filter $(arch),armv7 armv8))
-		ifeq ($(OS),Android)
-			CXXFLAGS += -m$(bits)
-			LDFLAGS += -m$(bits)
-		endif
-	else
-		CXXFLAGS += -m$(bits)
-		LDFLAGS += -m$(bits)
-	endif
-
-	ifeq ($(arch),$(filter $(arch),armv7))
-		LDFLAGS += -latomic
-	endif
-
-	ifneq ($(KERNEL),Darwin)
-	   LDFLAGS += -Wl,--no-as-needed
-	endif
 endif
 
 ifeq ($(COMP),mingw)
