csu: build for ARM

This commit is contained in:
Arun Thomas 2012-08-11 17:43:30 +02:00
parent 31d8526346
commit ed9152a1a3

View file

@ -6,7 +6,11 @@ ELFSIZE=32
.include "../../Makefile.inc"
.if defined(__MINIX) && ${MACHINE_ARCH} == "arm"
CPPFLAGS+= -DLIBC_SCCS -DPIC -DELFSIZE=${ELFSIZE}
.else
CPPFLAGS+= -DLIBC_SCCS -DPIC -DDYNAMIC -DELFSIZE=${ELFSIZE}
.endif
CPPFLAGS+= -I${NETBSDSRCDIR}/libexec/ld.elf_so
CPPFLAGS+= -I${.CURDIR}/../common_elf
CPPFLAGS+= -I${NETBSDSRCDIR}/lib/libc/dlfcn