diff options
| author | David E. O'Brien <obrien@FreeBSD.org> | 2002-05-10 09:26:35 +0000 |
|---|---|---|
| committer | David E. O'Brien <obrien@FreeBSD.org> | 2002-05-10 09:26:35 +0000 |
| commit | d1bdfb40fdbbd014d784e1ad700962bc3c6d4115 (patch) | |
| tree | 129629b06e5fc8f495f4447b72ce9c193c4cae7d /sys/boot/arc | |
| parent | 3b2b7c3e7abca45fb4e24c59f996d7058ebf46a3 (diff) | |
Notes
Diffstat (limited to 'sys/boot/arc')
| -rw-r--r-- | sys/boot/arc/lib/Makefile | 1 | ||||
| -rw-r--r-- | sys/boot/arc/loader/Makefile | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/sys/boot/arc/lib/Makefile b/sys/boot/arc/lib/Makefile index 1c7bb6cbde27b..fbbfeb8356b99 100644 --- a/sys/boot/arc/lib/Makefile +++ b/sys/boot/arc/lib/Makefile @@ -5,6 +5,7 @@ NOPIC= true NOPROFILE= true INTERNALLIB= true +CFLAGS+= -ffreestanding .PATH: ${.CURDIR}/arch/${MACHINE_ARCH} # XXX hack to pick up stand.h LIBSTANDDIR= ${.CURDIR}/../../../../lib/libstand diff --git a/sys/boot/arc/loader/Makefile b/sys/boot/arc/loader/Makefile index 351311b1c5295..e7b74576c1d47 100644 --- a/sys/boot/arc/loader/Makefile +++ b/sys/boot/arc/loader/Makefile @@ -14,7 +14,7 @@ SRCS+= main.c conf.c # Always add MI sources .PATH: ${.CURDIR}/../../common .include <${.CURDIR}/../../common/Makefile.inc> -CFLAGS+= -mno-fp-regs +CFLAGS+= -ffreestanding -mno-fp-regs CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR} CFLAGS+= -I${.CURDIR}/../../.. -I. CFLAGS+= -DLOADER |
