Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Mar 2009 11:13:14 -0500
From:      Scot Hetzel <swhetzel@gmail.com>
To:        gary.jennejohn@freenet.de
Cc:        freebsd-current@freebsd.org, Thomas Vogt <freebsdlists@bsdunix.ch>
Subject:   Re: /usr/include/wchar.h:216: error: invalid use of 'restrict' in  /lib32
Message-ID:  <790a9fff0903240913t1f1bc5e6q61fbe80caeb86e34@mail.gmail.com>
In-Reply-To: <20090324133803.38d6cfd0@ernst.jennejohn.org>
References:  <49C8BC54.7050504@bsdunix.ch> <20090324133803.38d6cfd0@ernst.jennejohn.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 24, 2009 at 7:38 AM, Gary Jennejohn
<gary.jennejohn@freenet.de> wrote:
> On Tue, 24 Mar 2009 11:56:20 +0100
> Thomas Vogt <freebsdlists@bsdunix.ch> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff0903240913t1f1bc5e6q61fbe80caeb86e34>