From owner-p4-projects@FreeBSD.ORG Wed Jul 12 02:44:33 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 9824B16A4E1; Wed, 12 Jul 2006 02:44:33 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7113116A4DF for ; Wed, 12 Jul 2006 02:44:33 +0000 (UTC) (envelope-from jb@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B92D43D45 for ; Wed, 12 Jul 2006 02:44:33 +0000 (GMT) (envelope-from jb@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k6C2iXe0045595 for ; Wed, 12 Jul 2006 02:44:33 GMT (envelope-from jb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k6C2iW4p045592 for perforce@freebsd.org; Wed, 12 Jul 2006 02:44:32 GMT (envelope-from jb@freebsd.org) Date: Wed, 12 Jul 2006 02:44:32 GMT Message-Id: <200607120244.k6C2iW4p045592@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jb@freebsd.org using -f From: John Birrell To: Perforce Change Reviews Cc: Subject: PERFORCE change 101319 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jul 2006 02:44:33 -0000 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 .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)