From owner-freebsd-current@FreeBSD.ORG Tue Mar 24 16:13:24 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF1371065AA1 for ; Tue, 24 Mar 2009 16:13:23 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.30]) by mx1.freebsd.org (Postfix) with ESMTP id BF3BA8FC39 for ; Tue, 24 Mar 2009 16:13:14 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: by yw-out-2324.google.com with SMTP id 5so1606291ywh.13 for ; Tue, 24 Mar 2009 09:13:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=GuGIZ5VSVrhiO7IhVmxu/JWlsyhGB8HdaCB0LNQYzF8=; b=LBR9zG7yrewDQCUgqGNnLToxwdi5uG5Lis5uYK4z61WLpb47qZskYHxZNtQJyixIbX bZ1+YnrJNET1ua5SDCq531RVBB9WtHh9E6dPY7viN+PocxlOm9KhyCZbxcaLEEZrhhob gECS4A5zzZJJlqHcjksqg2wLC3JWOS/xX38HM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ED+EUrufL0XJcV8XRXgu3mq3DjibuHmwP7af+G8mfbar/D2qwzBzki/Vl2ookN3csj Nmd8XPhOYtvEOEpu4kwAf7BpZYh4w3ItA/wA4bMvQd73iAoqOs5LRI7rIMjOSkAgTy9N TAmyAGEe6suI7U+OmOntoN4Ou4+rTjkRZ6JxE= MIME-Version: 1.0 Received: by 10.100.132.4 with SMTP id f4mr6776844and.109.1237911194219; Tue, 24 Mar 2009 09:13:14 -0700 (PDT) In-Reply-To: <20090324133803.38d6cfd0@ernst.jennejohn.org> References: <49C8BC54.7050504@bsdunix.ch> <20090324133803.38d6cfd0@ernst.jennejohn.org> Date: Tue, 24 Mar 2009 11:13:14 -0500 Message-ID: <790a9fff0903240913t1f1bc5e6q61fbe80caeb86e34@mail.gmail.com> From: Scot Hetzel To: gary.jennejohn@freenet.de Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, Thomas Vogt Subject: Re: /usr/include/wchar.h:216: error: invalid use of 'restrict' in /lib32 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2009 16:13:40 -0000 On Tue, Mar 24, 2009 at 7:38 AM, Gary Jennejohn wrote: > On Tue, 24 Mar 2009 11:56:20 +0100 > Thomas Vogt wrote: > >> I tried to update my current 64bit intel system from late January to the >> latest current code from March 24. >> >> FreeBSD foo.ch 8.0-CURRENT FreeBSD 8.0-CURRENT #3: Sat Jan 24 13:20:12 >> UTC 2009 >> >> make.conf: >> WITH_LIB32=yes >> > > Note that it's MK_LIB32, which is only effective if set to 'no'. > Otherwise 32-bit libraries always seem to be built. > The MK_* variables are internal variables for the FreeBSD sources. They are not to be set in /etc/make.conf. Instead you use WITH_* or WITHOUT_* to set the value of the MK_* variables. hp010# make -V MK_LIB32 -DWITHOUT_LIB32 -f Makefile.inc1 no hp010# make -V MK_LIB32 -DWITH_LIB32 -f Makefile.inc1 yes hp010# make -V MK_LIB32 WITH_LIB32=yes -f Makefile.inc1 yes hp010# make -V MK_LIB32 WITH_LIB32=no -f Makefile.inc1 yes Note: WITH_LIB32=no will still build the LIB32 libraries, use WITHOUT_LIB32 to not build LIB32. Scot