From 51a3c179e62bc82b85bb4963aa0d224bbbd6a23c Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 1 Feb 2015 06:21:22 +0100 Subject: [PATCH] (OSX) Add NOUNIVERSAL defines --- Makefile.libretro | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile.libretro b/Makefile.libretro index c58f978..3da682c 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -67,6 +67,11 @@ else ifeq ($(platform), osx) fpic += -mmacosx-version-min=10.5 endif +ifndef ($(NOUNIVERSAL)) + CFLAGS += $(ARCHFLAGS) + LDFLAGS += $(ARCHFLAGS) +endif + # iOS else ifeq ($(platform), ios) TARGET := $(TARGET_NAME)_libretro_ios.dylib @@ -278,7 +283,7 @@ $(TARGET): $(OBJECTS) ifeq ($(STATIC_LINKING), 1) $(AR) rcs $@ $(OBJECTS) else - $(CC) -o $(TARGET) $(fpic) $(OBJECTS) $(LIBRETRO_LIBS) $(SHARED) + $(CC) -o $(TARGET) $(fpic) $(OBJECTS) $(LDFLAGS) $(LIBRETRO_LIBS) $(SHARED) endif clean-objs: