Author: dim
Date: Mon Jul 18 20:07:29 2011
New Revision: 224201
URL: http://svn.freebsd.org/changeset/base/224201

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

Modified:
  head/lib/libc/stdlib/Makefile.inc

Modified: head/lib/libc/stdlib/Makefile.inc
==============================================================================
--- head/lib/libc/stdlib/Makefile.inc   Mon Jul 18 20:06:49 2011        
(r224200)
+++ head/lib/libc/stdlib/Makefile.inc   Mon Jul 18 20:07:29 2011        
(r224201)
@@ -51,7 +51,3 @@ MLINKS+=tsearch.3 tdelete.3 tsearch.3 tf
 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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to