/usr/src -> make doesn't recognize target when '-f -' is used
Garrett Cooper
yanegomi at gmail.com
Tue Sep 27 16:06:17 UTC 2011
On Sep 27, 2011, at 2:31 AM, rank1seeker at gmail.com wrote:
> cd /usr/src
>
> This works:
> --
> # echo 'CPUTYPE?=core2
> CFLAGS+=-march=native
> NO_CPU_CFLAGS=yes
> COPTFLAGS+=-march=native
> NO_CPU_COPTFLAGS=yes' | /usr/bin/make __MAKE_CONF=/dev/null -f - -V CPUTYPE
> --
>
> This DOESN'T:
> --
> # echo 'CPUTYPE?=core2
> CFLAGS+=-march=native
> NO_CPU_CFLAGS=yes
> COPTFLAGS+=-march=native
> NO_CPU_COPTFLAGS=yes' | /usr/bin/make __MAKE_CONF=/dev/null -f - -j4 buildworld
>
> make: don't know how to make buildworld. Stop
> (Yes, in /usr/src)
> --
>
> 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
More information about the freebsd-hackers
mailing list