Add -ffreestanding to CFLAGS to avoid type conflicts with built-in
functions in gcc.
This commit is contained in:
parent
202ba2bdcf
commit
a2498bfff8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue