Date: Wed, 12 Jul 2006 02:44:32 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 101319 for review Message-ID: <200607120244.k6C2iW4p045592@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=101319 Change 101319 by jb@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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607120244.k6C2iW4p045592>