aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTwinaphex2015-02-01 05:29:17 +0100
committerTwinaphex2015-02-01 05:29:17 +0100
commit7114688cf0f5707768135ec05184635b34d54f79 (patch)
tree235a35d5a9b8e05cfe394080cb0b43e891019c6c /Makefile
parent56f56d804bfc55fea8a4f6d2b7fecbaf30f4d5e7 (diff)
parenta1831e85910ec9298487c84f2e71332c229d5ddd (diff)
downloadsnesemu-7114688cf0f5707768135ec05184635b34d54f79.tar.gz
snesemu-7114688cf0f5707768135ec05184635b34d54f79.tar.bz2
snesemu-7114688cf0f5707768135ec05184635b34d54f79.zip
Merge pull request #2 from iKarith/master
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