Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Sep 2011 08:43:23 -0700
From:      Garrett Cooper <yanegomi@gmail.com>
To:        rank1seeker@gmail.com
Cc:        hackers@freebsd.org
Subject:   Re: /usr/src -> make doesn't recognize target when '-f -' is used
Message-ID:  <2F3ECD4D-5EEF-4790-9FEF-809A90C8693D@gmail.com>
In-Reply-To: <20110927.093117.140.1@DEV>
References:  <20110927.093117.140.1@DEV>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sep 27, 2011, at 2:31 AM, rank1seeker@gmail.com wrote:

> cd /usr/src
>=20
> This works:
> --
> # echo 'CPUTYPE?=3Dcore2
> CFLAGS+=3D-march=3Dnative
> NO_CPU_CFLAGS=3Dyes
> COPTFLAGS+=3D-march=3Dnative
> NO_CPU_COPTFLAGS=3Dyes' | /usr/bin/make __MAKE_CONF=3D/dev/null -f - =
-V CPUTYPE
> --
>=20
> This DOESN'T:
> --
> # echo 'CPUTYPE?=3Dcore2
> CFLAGS+=3D-march=3Dnative
> NO_CPU_CFLAGS=3Dyes
> COPTFLAGS+=3D-march=3Dnative
> NO_CPU_COPTFLAGS=3Dyes' | /usr/bin/make __MAKE_CONF=3D/dev/null -f - =
-j4 buildworld
>=20
> make: don't know how to make buildworld. Stop
>    (Yes, in /usr/src)
> --
>=20
> When '-f -' is removed, build will start?
> Is this a bug or I simply don't see, an obvious thing?

How are you invoking the build exactly in each case?
Thanks,
-Garrett=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2F3ECD4D-5EEF-4790-9FEF-809A90C8693D>