看板 DFBSD_bugs 關於我們 聯絡資訊
dillon wrote @ Sat, 30 Oct 2004 11:04:17 -0700 (PDT): > :Seems like the bootstrap tools use the system headers. > :So an obvious solution was to "make upgrade" first. > :Or we could ifdef the new code out if the headers don't define enough. > : > :What is the correct solution ? > : > :Andy > > I think it can be conditionalized in the lex file. I'll play with it. > One shouldn't have to make upgrade first and in fact that could cause > other problems e.g. when trying to build the world on a FreeBSD 4.x box. I just wonder why there aren't more ifdefs spread over the tree then. Another suggestion by asmodai was: ..if defined(BOOTSTRAPPING) CFLAGS+= -I. -I${SRCTREE}/include ..else Andy