PERFORCE change 101319 for review

John Birrell jb at FreeBSD.org
Wed Jul 12 02:44:33 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=101319

Change 101319 by jb at jb_freebsd2 on 2006/07/12 02:43:36

	Add support to build gcc expecting a version of libc with thread support
	built in.

Affected files ...

.. //depot/projects/dtrace/src/gnu/usr.bin/cc/Makefile.inc#3 edit

Differences ...

==== //depot/projects/dtrace/src/gnu/usr.bin/cc/Makefile.inc#3 (text+ko) ====

@@ -8,6 +8,7 @@
 
 GCCDIR=	${.CURDIR}/../../../../contrib/gcc
 
+.include <bsd.own.mk>
 .include "Makefile.tgt"
 
 # Machine description.
@@ -18,6 +19,10 @@
 CFLAGS+=	-DPREFIX=\"${TOOLS_PREFIX}/usr\"
 #CFLAGS+=	-DWANT_COMPILER_INVARIANTS
 
+.if ${MK_LIBC_THREADS} != "no"
+CFLAGS+=	-DFBSD_LIBC_THREADS
+.endif
+
 # If building 64-bit longs for the i386, "_LARGE_LONG" should also be defined
 # to get the proper sizes in limits.h
 .if defined(LONG_TYPE_SIZE)


More information about the p4-projects mailing list