Commit 986fb168 authored by harakari's avatar harakari
Browse files

iOS: fixed setting CPUFLAGS in right location

parent ad3168f5
......@@ -171,18 +171,18 @@ else ifneq (,$(findstring ios,$(platform)))
ifeq ($(platform),ios-arm64)
CC = clang -arch arm64 -isysroot $(IOSSDK)
CXX = clang++ -arch arm64 -isysroot $(IOSSDK)
CPUFLAGS += -marm
else
CC = clang -arch armv7 -isysroot $(IOSSDK)
CC = clang -arch armv7 -isysroot $(IOSSDK)
CXX = clang++ -arch armv7 -isysroot $(IOSSDK)
CPUFLAGS += -marm -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp
endif
ifeq ($(platform),$(filter $(platform),ios9 ios-arm64))
CC += -miphoneos-version-min=8.0
CC_AS += -miphoneos-version-min=8.0
CXX += -miphoneos-version-min=8.0
PLATCFLAGS += -miphoneos-version-min=8.0
CPUFLAGS += -marm
else
CPUFLAGS += -marm -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp
CC += -miphoneos-version-min=5.0
CC_AS += -miphoneos-version-min=5.0
CXX += -miphoneos-version-min=5.0
......
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