diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/Makefile b/src/Makefile index 6c1b202f..a0630e26 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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 |
