diff Makefile @ 1688:395f684c5379

Fixed the most glaring issues in libretro build
author Mike Pavone <pavone@retrodev.com>
date Sun, 20 Jan 2019 16:24:22 -0800
parents 6c54bb5fe3b3
children ba3fb7a3be6b
line wrap: on
line diff
--- a/Makefile	Sun Jan 20 01:03:21 2019 -0800
+++ b/Makefile	Sun Jan 20 16:24:22 2019 -0800
@@ -75,10 +75,10 @@
 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 @@
 endif
 
 ifeq ($(MAKECMDGOALS),libblastem.so)
-CFLAGS+= -fpic
+CFLAGS+= -fpic -DIS_LIB
 endif
 
 all : $(ALL)