summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2011-07-18 20:07:29 +0000
committerdim <dim@FreeBSD.org>2011-07-18 20:07:29 +0000
commitdd1a1f9dcc6243ff5d7d0c235cb8274cac899cc7 (patch)
treecdfe75e6d3c915923dba2d714210a18c96827a1b
parent1a8cc2bad92d7f1305d57aac3ee82e82117aab70 (diff)
downloadFreeBSD-src-dd1a1f9dcc6243ff5d7d0c235cb8274cac899cc7.zip
FreeBSD-src-dd1a1f9dcc6243ff5d7d0c235cb8274cac899cc7.tar.gz
Fix building of 32-bit compat libraries on amd64 with clang, and using
-g, by reverting r219139. The LLVM PR referenced in that revision was fixed in the mean time, and we imported a clang snapshot soon afterwards, so the temporary workaround of disabling clang's integrated assembler is no longer needed. In this particular case, using e.g. DEBUG_FLAGS=-g causes clang to output certain directives into assembly that our version of GNU as chokes on. Reported by: dougb Approved by: re (kib)
-rw-r--r--lib/libc/stdlib/Makefile.inc4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/libc/stdlib/Makefile.inc b/lib/libc/stdlib/Makefile.inc
index d5b151c..3627294 100644
--- a/lib/libc/stdlib/Makefile.inc
+++ b/lib/libc/stdlib/Makefile.inc
@@ -51,7 +51,3 @@ MLINKS+=tsearch.3 tdelete.3 tsearch.3 tfind.3 tsearch.3 twalk.3
CFLAGS+= -DMALLOC_PRODUCTION
.endif
-.if ${CC:T:Mclang} == "clang"
-# XXX: Temporary workaround for LLVM PR 9352
-CFLAGS+= ${.IMPSRC:T:Mmalloc.c:C/^.+$/-no-integrated-as/}
-.endif
OpenPOWER on IntegriCloud