Commit 6a77e0bd authored by Felix Paul Kühne's avatar Felix Paul Kühne

contrib: enforce the build architecture for iOS

parent 08c67883
......@@ -154,6 +154,13 @@ AR=xcrun ar
LD=xcrun ld
STRIP=xcrun strip
RANLIB=xcrun ranlib
ifeq ($(ARCH), arm)
EXTRA_CFLAGS += -arch armv7 -mno-thumb
EXTRA_LDFLAGS += -arch armv7
else
EXTRA_CFLAGS += -m32
EXTRA_LDFLAGS += -m32
endif
EXTRA_CFLAGS += -isysroot $(SDKROOT) -miphoneos-version-min=5.0
EXTRA_LDFLAGS += -Wl,-syslibroot,$(SDKROOT) -isysroot $(SDKROOT) -miphoneos-version-min=5.0
endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment