radare2/mk/ios-sdk.mk
pancake afe3792d0f Force embed-bitcode on iOS builds
- Fix typo and improve ios-sdk build
- Don't let capstone set the -arch flags
2018-06-10 03:38:28 +02:00

22 lines
344 B
Makefile

CROSS=ios-sdk-
CC=${CROSS}gcc
USERCC=${CROSS}gcc
RANLIB=ranlib
ONELIB=0
OSTYPE=darwin
LINK=
AR=ar
CC_AR=${AR} -r ${LIBAR}
PARTIALLD=${CROSS}ld -r -all_load
PICFLAGS=
CFLAGS+=${PICFLAGS}
CC_LIB=${CC} -shared -o
CFLAGS_INCLUDE=-I
LDFLAGS_LINK=-l
LDFLAGS_LINKPATH=-L
CFLAGS_OPT0=-O0
CFLAGS_OPT1=-O1
CFLAGS_OPT2=-O2
CFLAGS_OPT3=-O3
CFLAGS_DEBUG=-g