summaryrefslogtreecommitdiffstats
path: root/lib/csu
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2012-04-16 21:36:55 +0000
committerdim <dim@FreeBSD.org>2012-04-16 21:36:55 +0000
commit0b9f8d0983917f537b2e7566d4e7756a889d7407 (patch)
tree09f419ce639b114c9f5bad0aeb2e8cead0f25e8e /lib/csu
parent97ce6d5fb11b4c08790e829a51412306947c53c0 (diff)
downloadFreeBSD-src-0b9f8d0983917f537b2e7566d4e7756a889d7407.zip
FreeBSD-src-0b9f8d0983917f537b2e7566d4e7756a889d7407.tar.gz
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
Diffstat (limited to 'lib/csu')
-rw-r--r--lib/csu/powerpc/Makefile3
1 files changed, 2 insertions, 1 deletions
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}
OpenPOWER on IntegriCloud