diff options
author | andrew <andrew@FreeBSD.org> | 2014-10-06 09:52:28 +0000 |
---|---|---|
committer | andrew <andrew@FreeBSD.org> | 2014-10-06 09:52:28 +0000 |
commit | 4f66e1e13e4e5c0cffda516abb50ceb6fb7433a5 (patch) | |
tree | 801f20b7b9bb169b4e1797fd66c8752edf3e8f9a /sys/conf | |
parent | 16b2df6b9e142f8f38226dd9cedb6181e18e3e48 (diff) | |
download | FreeBSD-src-4f66e1e13e4e5c0cffda516abb50ceb6fb7433a5.zip FreeBSD-src-4f66e1e13e4e5c0cffda516abb50ceb6fb7433a5.tar.gz |
Disable generating vfp and NEON instructions in the arm kernel.
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/Makefile.arm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/conf/Makefile.arm b/sys/conf/Makefile.arm index 08e70f3..2727f81 100644 --- a/sys/conf/Makefile.arm +++ b/sys/conf/Makefile.arm @@ -42,6 +42,9 @@ STRIP_FLAGS = -S # We don't support gcc's thump interwork stuff, so disable it CFLAGS.gcc += -mno-thumb-interwork +# We generally don't want fpu instructions in the kernel. +CFLAGS.clang += -mfpu=none + .if !empty(DDB_ENABLED) CFLAGS += -funwind-tables # clang requires us to tell it to emit assembly with unwind information |