Browse Source

Update Makefile

pull/1357/head
raysan5 4 years ago
parent
commit
05b3ca0a83
1 changed files with 8 additions and 8 deletions
  1. +8
    -8
      src/Makefile

+ 8
- 8
src/Makefile View File

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

Loading…
Cancel
Save