summaryrefslogtreecommitdiffstats
path: root/lib/clang
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2012-04-23 06:33:27 +0000
committerdim <dim@FreeBSD.org>2012-04-23 06:33:27 +0000
commitbb98136ca267acfa6666aa63f7f1f7ce66cd1a02 (patch)
treea45275c2c0772c68766c3273f6de09003c4343e6 /lib/clang
parent81487b906838c16f3b92d10125a8d0bb5962dc25 (diff)
downloadFreeBSD-src-bb98136ca267acfa6666aa63f7f1f7ce66cd1a02.zip
FreeBSD-src-bb98136ca267acfa6666aa63f7f1f7ce66cd1a02.tar.gz
Revert r234356 for now, as it leads to run-time problems on 32-bit
PowerPC. Note this will break world. Reported by: andreast Pointy hat to: dim
Diffstat (limited to 'lib/clang')
-rw-r--r--lib/clang/clang.build.mk6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/clang/clang.build.mk b/lib/clang/clang.build.mk
index 7437a1d..a14918d 100644
--- a/lib/clang/clang.build.mk
+++ b/lib/clang/clang.build.mk
@@ -11,12 +11,6 @@ CFLAGS+=-I${LLVM_SRCS}/include -I${CLANG_SRCS}/include \
# LLVM is not strict aliasing safe as of 12/31/2011
CFLAGS+= -fno-strict-aliasing
-# Work around an issue on 32-bit PowerPC, where the clang executable can get
-# too big, causing 'relocation truncated to fit' errors at link time.
-.if ${MACHINE_ARCH} == "powerpc"
-CFLAGS+=-mlongcall
-.endif
-
TARGET_ARCH?= ${MACHINE_ARCH}
CFLAGS+=-DLLVM_DEFAULT_TARGET_TRIPLE=\"${TARGET_ARCH:C/amd64/x86_64/}-unknown-freebsd10.0\"
OpenPOWER on IntegriCloud