summaryrefslogtreecommitdiffhomepage
path: root/src/Makefile
diff options
context:
space:
mode:
authorRay <[email protected]>2023-07-16 20:18:38 +0200
committerRay <[email protected]>2023-07-16 20:18:38 +0200
commite0c80f5ddd9543a6f086f3871f886e275c331a53 (patch)
treeb4a0fce427131d29ccc812f7f7cba7e138774a66 /src/Makefile
parent86f95d71502bb6099dca0490aa8216b1684acf0f (diff)
downloadraylib-e0c80f5ddd9543a6f086f3871f886e275c331a53.tar.gz
raylib-e0c80f5ddd9543a6f086f3871f886e275c331a53.zip
Revert "Makefile change for cross compiling. (#3176)"
This reverts commit 70286c7cdc6d972c63704ad957c18065f6a44cfe.
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/Makefile b/src/Makefile
index 30ac232f..fc4c5b0c 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