diff options
author | dim <dim@FreeBSD.org> | 2011-07-18 20:07:29 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2011-07-18 20:07:29 +0000 |
commit | dd1a1f9dcc6243ff5d7d0c235cb8274cac899cc7 (patch) | |
tree | cdfe75e6d3c915923dba2d714210a18c96827a1b /lib/libc | |
parent | 1a8cc2bad92d7f1305d57aac3ee82e82117aab70 (diff) | |
download | FreeBSD-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)
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/stdlib/Makefile.inc | 4 |
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 |