Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jan 2016 12:59:54 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r294499 - head/lib/clang
Message-ID:  <201601211259.u0LCxs0I015914@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andrew
Date: Thu Jan 21 12:59:54 2016
New Revision: 294499
URL: https://svnweb.freebsd.org/changeset/base/294499

Log:
  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.

Modified:
  head/lib/clang/clang.lib.mk

Modified: head/lib/clang/clang.lib.mk
==============================================================================
--- head/lib/clang/clang.lib.mk	Thu Jan 21 12:42:31 2016	(r294498)
+++ head/lib/clang/clang.lib.mk	Thu Jan 21 12:59:54 2016	(r294499)
@@ -7,7 +7,8 @@ LLVM_SRCS= ${.CURDIR}/../../../contrib/l
 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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601211259.u0LCxs0I015914>