Back out the addition of -static to LDFLAGS; I'm pretty confident

that the build failure was caused by a computer/sources date/time
mismatch that caused GCC tools to be mistakenly rebuilt again at
an inappropriate time during buildworld, re-linking them against
new libraries instead of host's installed libraries and thus making
them not runnable by the host.  Normally they are only built in
the early stage of buildworld (build-tools) that links them against
shared libraries of the host, but if either the system clock or
modification date/time on source files is set incorrectly, make(1)
can be foolished into thinking that tools are stale and will rebuild
them again, now in the "target" environment which is not suitable
for building helper apps that are to be run during buildworld.

OK'ed by:	kan
This commit is contained in:
Ruslan Ermilov 2007-05-21 12:04:16 +00:00
parent f3fc519625
commit 4c520cd4c6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=169828

View File

@ -3,7 +3,6 @@
.include <bsd.own.mk>
CFLAGS+= -I.
LDFLAGS+= -static
.include "../Makefile.inc"