radare2/mk/termux-host.mk

21 lines
346 B
Makefile

#CC=arm-linux-androideabi-gcc
#CC=gcc -fPIC -fPIE
#RANLIB=ndk-ranlib
USERCC=gcc -fPIC -fPIE
CC_AR=${AR} -r ${LIBAR}
ONELIB=0
OSTYPE=android
LINK=
PICFLAGS=-fPIC -fpic
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