From 1eb9b1807dbe353ba28c5eddc9d3849a00707b83 Mon Sep 17 00:00:00 2001 From: aliaspider Date: Sat, 26 Dec 2015 22:06:39 +0100 Subject: build fix for non-GCC compilers. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 7f2a6e1..edfd135 100644 --- a/Makefile +++ b/Makefile @@ -14,6 +14,8 @@ else ifneq ($(findstring win,$(shell uname -a)),) endif endif +HAVE_GCC = 0 + ifeq ($(platform), unix) TARGET := $(TARGET_NAME)_libretro.so fpic := -fPIC @@ -85,6 +87,7 @@ else ifeq ($(platform), ctr) CFLAGS += -D_3DS PLATFORM_DEFINES := -D_3DS STATIC_LINKING := 1 + HAVE_GCC = 1 else TARGET := $(TARGET_NAME)_libretro.dll CC = gcc -- cgit v1.2.3