From e0c80f5ddd9543a6f086f3871f886e275c331a53 Mon Sep 17 00:00:00 2001 From: Ray Date: Sun, 16 Jul 2023 20:18:38 +0200 Subject: [PATCH] Revert "Makefile change for cross compiling. (#3176)" This reverts commit 70286c7cdc6d972c63704ad957c18065f6a44cfe. --- src/Makefile | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/Makefile b/src/Makefile index 30ac232f8..fc4c5b0c7 100644 --- a/src/Makefile +++ b/src/Makefile @@ -308,17 +308,6 @@ ifeq ($(PLATFORM),PLATFORM_ANDROID) AR = $(ANDROID_TOOLCHAIN)/bin/llvm-ar endif -# This section is here to help handle cross compilation. eg build on Linux for Windows. If you are doing this, you better know what you are doing! -ifdef TARGET_OS - ifdef CROSS_CC - CC = ${CROSS_CC} - endif - ifdef CROSS_AR - AR = ${CROSS_AR} - endif - PLATFORM_OS = ${TARGET_OS} -endif - # Define compiler flags: CFLAGS #------------------------------------------------------------------------------------------------ # -O1 defines optimization level