Disable -mlong-calls for the clang libraries for now, it increases the

size of the clang binary for people with a crt1.o from before r293832.
This commit is contained in:
Andrew Turner 2016-01-21 12:59:54 +00:00
parent 0591b689c2
commit 9beacb6f22

View File

@ -7,7 +7,8 @@ LLVM_SRCS= ${.CURDIR}/../../../contrib/llvm
INTERNALLIB=
.if ${MACHINE_CPUARCH} == "arm"
STATIC_CXXFLAGS+= -mlong-calls
# This will need to be enabled to link clang 3.8
#STATIC_CXXFLAGS+= -mlong-calls
.endif
.include <bsd.lib.mk>