summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authoraliaspider2015-12-26 22:06:39 +0100
committeraliaspider2015-12-26 22:06:39 +0100
commit1eb9b1807dbe353ba28c5eddc9d3849a00707b83 (patch)
tree00911efd4c7d740112301657d6263cfa28947d8d /Makefile
parentd47adaae518ce69e6bd7a3a2aba95e476f3089a8 (diff)
downloadsnes9x2002-1eb9b1807dbe353ba28c5eddc9d3849a00707b83.tar.gz
snes9x2002-1eb9b1807dbe353ba28c5eddc9d3849a00707b83.tar.bz2
snes9x2002-1eb9b1807dbe353ba28c5eddc9d3849a00707b83.zip
build fix for non-GCC compilers.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
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