|
|
@ -210,14 +210,6 @@ endif |
|
|
|
CC = gcc |
|
|
|
AR = ar |
|
|
|
|
|
|
|
# GCC could support multilib building for x86 (-m32) and x64 (-m64)
|
|
|
|
ifeq ($(CC), gcc) |
|
|
|
ARCH = -m32 |
|
|
|
ifeq ($(RAYLIB_BUILD_ARCH),x64) |
|
|
|
ARCH = -m64 |
|
|
|
endif |
|
|
|
endif |
|
|
|
|
|
|
|
ifeq ($(PLATFORM),PLATFORM_DESKTOP) |
|
|
|
ifeq ($(PLATFORM_OS),OSX) |
|
|
|
# OSX default compiler |
|
|
@ -261,6 +253,14 @@ ifeq ($(PLATFORM),PLATFORM_ANDROID) |
|
|
|
endif |
|
|
|
endif |
|
|
|
|
|
|
|
# GCC could support multilib building for x86 (-m32) and x64 (-m64)
|
|
|
|
ifeq ($(CC), gcc) |
|
|
|
ARCH = -m32 |
|
|
|
ifeq ($(RAYLIB_BUILD_ARCH),x64) |
|
|
|
ARCH = -m64 |
|
|
|
endif |
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
# Define compiler flags:
|
|
|
|
# -O1 defines optimization level
|
|
|
|