aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorT. Joseph Carter2015-01-31 17:17:12 -0800
committerT. Joseph Carter2015-01-31 17:17:12 -0800
commita1831e85910ec9298487c84f2e71332c229d5ddd (patch)
tree235a35d5a9b8e05cfe394080cb0b43e891019c6c /Makefile
parent56f56d804bfc55fea8a4f6d2b7fecbaf30f4d5e7 (diff)
downloadsnesemu-a1831e85910ec9298487c84f2e71332c229d5ddd.tar.gz
snesemu-a1831e85910ec9298487c84f2e71332c229d5ddd.tar.bz2
snesemu-a1831e85910ec9298487c84f2e71332c229d5ddd.zip
Universal build for OS X
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c4c62db..4074246 100644
--- a/Makefile
+++ b/Makefile
@@ -61,6 +61,10 @@ endif
ifeq ($(OSX_LT_MAVERICKS),"YES")
fpic += -mmacosx-version-min=10.5
endif
+ifndef ($(NOUNIVERSAL))
+ FLAGS += $(ARCHFLAGS)
+ LDFLAGS += $(ARCHFLAGS)
+endif
else ifeq ($(platform), ios)
TARGET := $(TARGET_NAME)_libretro_ios.dylib
fpic := -fPIC