On Sun, Dec 6, 2009 at 12:43 AM, James Hartley <jjhartley@gmail.com> wrote:
wrote:
Well, I'll leave it to you to figure out where the -nostdinc and
-idirafter options are coming from, as they are not normally present
in a build of sbin/route.
===> sbin/route
cc -O2 -pipe -g -c /usr/src/sbin/route/route.c
cc -O2 -pipe -g -c /usr/src/sbin/route/show.c
cc -g -static -o route route.o show.o
nroff -Tascii -mandoc /usr/src/sbin/route/route.8 > route.cat8
...
Updating to a snapshot and rebuilding after that is the only "always
works" method, but it's not _usually_ required and was not required
for this change. It didn't work for you because your build used
non-standard compiler options and a non-empty DESTDIR during the build
stage.
Philip Guenther