Add -ffreestanding to CFLAGS to avoid type conflicts with built-in

functions in gcc.
This commit is contained in:
he 2003-10-30 22:20:43 +00:00
parent 202ba2bdcf
commit a2498bfff8
1 changed files with 3 additions and 1 deletions

View File

@ -1,9 +1,11 @@
# $NetBSD: Makefile.booters,v 1.2 2003/10/08 01:40:23 simonb Exp $
# $NetBSD: Makefile.booters,v 1.3 2003/10/30 22:20:43 he Exp $
S?= ${.CURDIR}/../../../..
.PHONY: machine-links
CFLAGS+= -ffreestanding
machine-links:
-rm -f machine && \
ln -s $S/arch/${MACHINE}/include machine