(libretro-test) Added OSX universal

This commit is contained in:
twinaphex 2015-11-01 17:48:37 +01:00
parent 5cabb8111a
commit c762a5a446

View File

@ -29,6 +29,17 @@ endif
TARGET_NAME := test
LIBM = -lm
ifeq ($(ARCHFLAGS),)
ARCHFLAGS = -arch i386 -arch x86_64
endif
ifeq ($(platform), osx)
ifndef ($(NOUNIVERSAL))
CFLAGS += $(ARCHFLAGS)
LFLAGS += $(ARCHFLAGS)
endif
endif
ifeq ($(platform), unix)
TARGET := $(TARGET_NAME)_libretro.so
fpic := -fPIC