summaryrefslogtreecommitdiffstats
path: root/sys/boot/arc/loader
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-05-10 09:26:35 +0000
committerobrien <obrien@FreeBSD.org>2002-05-10 09:26:35 +0000
commitce04447cdfa298204b0d3e6fe6cc24686c935354 (patch)
tree129629b06e5fc8f495f4447b72ce9c193c4cae7d /sys/boot/arc/loader
parent5eb5239e7b9b006e0d68a2a4dd7bb7fdc40f042d (diff)
downloadFreeBSD-src-ce04447cdfa298204b0d3e6fe6cc24686c935354.zip
FreeBSD-src-ce04447cdfa298204b0d3e6fe6cc24686c935354.tar.gz
-ffreestanding is the word.
(also resort some CFLAGS such that the more "important" value are first so they are easier to see)
Diffstat (limited to 'sys/boot/arc/loader')
-rw-r--r--sys/boot/arc/loader/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/arc/loader/Makefile b/sys/boot/arc/loader/Makefile
index 351311b..e7b7457 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
OpenPOWER on IntegriCloud