From 0b9f8d0983917f537b2e7566d4e7756a889d7407 Mon Sep 17 00:00:00 2001 From: dim Date: Mon, 16 Apr 2012 21:36:55 +0000 Subject: Work around an issue on 32-bit PowerPC, where clang executable can get too big, causing 'relocation truncated to fit' errors at link time. Reviewed by: nwhitehorn --- lib/csu/powerpc/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/csu') diff --git a/lib/csu/powerpc/Makefile b/lib/csu/powerpc/Makefile index 1e1d1fa..a3e0cab 100644 --- a/lib/csu/powerpc/Makefile +++ b/lib/csu/powerpc/Makefile @@ -6,7 +6,8 @@ SRCS= crt1.c crti.S crtn.S OBJS= ${SRCS:N*.h:R:S/$/.o/g} OBJS+= Scrt1.o gcrt1.o CFLAGS+= -I${.CURDIR}/../common \ - -I${.CURDIR}/../../libc/include + -I${.CURDIR}/../../libc/include \ + -mlongcall all: ${OBJS} -- cgit v1.1