mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-06 19:38:15 +00:00
Revert "Makefile change for cross compiling. (#3176)"
This reverts commit 70286c7cdc
.
This commit is contained in:
11
src/Makefile
11
src/Makefile
@@ -308,17 +308,6 @@ ifeq ($(PLATFORM),PLATFORM_ANDROID)
|
|||||||
AR = $(ANDROID_TOOLCHAIN)/bin/llvm-ar
|
AR = $(ANDROID_TOOLCHAIN)/bin/llvm-ar
|
||||||
endif
|
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
|
# Define compiler flags: CFLAGS
|
||||||
#------------------------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------------------------
|
||||||
# -O1 defines optimization level
|
# -O1 defines optimization level
|
||||||
|
Reference in New Issue
Block a user