summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMike Pavone <pavone@retrodev.com>2019-01-20 16:24:22 -0800
committerMike Pavone <pavone@retrodev.com>2019-01-20 16:24:22 -0800
commit27404027deee4f439a7c053bb9eb8425e995cb4c (patch)
tree8a9e0d4a719a4257facf3350b7854842b0a06613 /Makefile
parent9b2cc51def59fa3cf50ffe92dc59cd9fe669668b (diff)
Fixed the most glaring issues in libretro build
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c695508..7b2fc5e 100644
--- a/Makefile
+++ b/Makefile
@@ -75,10 +75,10 @@ endif
endif #Darwin
else
-CFLAGS:=$(shell pkg-config --cflags-only-I $(LIBS)) $(CFLAGS)
ifeq ($(MAKECMDGOALS),libblastem.so)
LDFLAGS:=-lm
else
+CFLAGS:=$(shell pkg-config --cflags-only-I $(LIBS)) $(CFLAGS)
LDFLAGS:=-lm $(shell pkg-config --libs $(LIBS))
endif #libblastem.so
@@ -208,7 +208,7 @@ ALL+= termhelper
endif
ifeq ($(MAKECMDGOALS),libblastem.so)
-CFLAGS+= -fpic
+CFLAGS+= -fpic -DIS_LIB
endif
all : $(ALL)