Fix some GCC3.3.1 nits (-ffreestanding, #include <lib/libkern/libkern.h>)
This commit is contained in:
parent
7fef26674d
commit
f9188e9265
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.buildboot,v 1.2 2003/04/20 14:38:00 bjh21 Exp $
|
||||
# $NetBSD: Makefile.buildboot,v 1.3 2003/09/21 14:17:13 matt Exp $
|
||||
|
||||
S?= ${.CURDIR}/../../../..
|
||||
|
||||
|
@ -22,6 +22,7 @@ CPPFLAGS+= -D_STANDALONE
|
|||
CPPFLAGS+= -I. -I${.CURDIR}/../../.. -I${.CURDIR}/../../../..
|
||||
CPPFLAGS+= -I${.CURDIR}/../lib
|
||||
CFLAGS= -O2
|
||||
CFLAGS+= -ffreestanding
|
||||
CFLAGS+= -Wall -Wstrict-prototypes -Wmissing-prototypes
|
||||
|
||||
.if !make(obj) && !make(clean) && !make(cleandir)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: srt1.c,v 1.2 2003/01/06 18:22:01 reinoud Exp $ */
|
||||
/* $NetBSD: srt1.c,v 1.3 2003/09/21 14:17:13 matt Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2001 Ben Harris.
|
||||
|
@ -34,6 +34,7 @@
|
|||
|
||||
/* Command-line parsing from i386 doscommain.c */
|
||||
|
||||
#include <lib/libkern/libkern.h>
|
||||
#include <lib/libsa/stand.h>
|
||||
#include <riscoscalls.h>
|
||||
#include <srt0.h>
|
||||
|
|
Loading…
Reference in New Issue