svn commit: r193383 - projects/clangbsd/lib/libc
Ed Schouten
ed at FreeBSD.org
Wed Jun 3 16:04:21 UTC 2009
Author: ed
Date: Wed Jun 3 16:04:21 2009
New Revision: 193383
URL: http://svn.freebsd.org/changeset/base/193383
Log:
Also build libc with GCC. It also needs #pragma weak.
Not build libc with GCC causes things like PAM to break.
Modified:
projects/clangbsd/lib/libc/Makefile
Modified: projects/clangbsd/lib/libc/Makefile
==============================================================================
--- projects/clangbsd/lib/libc/Makefile Wed Jun 3 14:18:37 2009 (r193382)
+++ projects/clangbsd/lib/libc/Makefile Wed Jun 3 16:04:21 2009 (r193383)
@@ -5,6 +5,11 @@ SHLIBDIR?= /lib
.include <bsd.own.mk>
+# XXX: LLVM PR3679
+.if ${MK_CLANG_IS_CC} != "no" && ${CC} == "cc"
+CC= gcc
+.endif
+
# All library objects contain FreeBSD revision strings by default; they may be
# excluded as a space-saving measure. To produce a library that does
# not contain these strings, add -DSTRIP_FBSDID (see <sys/cdefs.h>) to CFLAGS
More information about the svn-src-projects
mailing list