mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2025-01-13 03:39:06 +01:00
(OSX) Add NOUNIVERSAL defines
This commit is contained in:
parent
6c68c05eb1
commit
51a3c179e6
@ -67,6 +67,11 @@ else ifeq ($(platform), osx)
|
|||||||
fpic += -mmacosx-version-min=10.5
|
fpic += -mmacosx-version-min=10.5
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifndef ($(NOUNIVERSAL))
|
||||||
|
CFLAGS += $(ARCHFLAGS)
|
||||||
|
LDFLAGS += $(ARCHFLAGS)
|
||||||
|
endif
|
||||||
|
|
||||||
# iOS
|
# iOS
|
||||||
else ifeq ($(platform), ios)
|
else ifeq ($(platform), ios)
|
||||||
TARGET := $(TARGET_NAME)_libretro_ios.dylib
|
TARGET := $(TARGET_NAME)_libretro_ios.dylib
|
||||||
@ -278,7 +283,7 @@ $(TARGET): $(OBJECTS)
|
|||||||
ifeq ($(STATIC_LINKING), 1)
|
ifeq ($(STATIC_LINKING), 1)
|
||||||
$(AR) rcs $@ $(OBJECTS)
|
$(AR) rcs $@ $(OBJECTS)
|
||||||
else
|
else
|
||||||
$(CC) -o $(TARGET) $(fpic) $(OBJECTS) $(LIBRETRO_LIBS) $(SHARED)
|
$(CC) -o $(TARGET) $(fpic) $(OBJECTS) $(LDFLAGS) $(LIBRETRO_LIBS) $(SHARED)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
clean-objs:
|
clean-objs:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user