Revert "Makefile change for cross compiling. (#3176)"

This reverts commit 70286c7cdc.
This commit is contained in:
Ray
2023-07-16 20:18:38 +02:00
parent 86f95d7150
commit e0c80f5ddd

View File

@@ -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