diff options
author | Andrew Turner <andrew@FreeBSD.org> | 2014-10-06 09:52:28 +0000 |
---|---|---|
committer | Andrew Turner <andrew@FreeBSD.org> | 2014-10-06 09:52:28 +0000 |
commit | 9677c48e30c340e7dcb83bf34e11a3b0d23d2753 (patch) | |
tree | 801f20b7b9bb169b4e1797fd66c8752edf3e8f9a /sys/conf | |
parent | 7f29c69aee963aedf5db477201e5c7e3356b2b64 (diff) | |
download | src-9677c48e30c340e7dcb83bf34e11a3b0d23d2753.tar.gz src-9677c48e30c340e7dcb83bf34e11a3b0d23d2753.zip |
Disable generating vfp and NEON instructions in the arm kernel.
Notes
Notes:
svn path=/head/; revision=272605
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 08e70f30a502..2727f815ebd9 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 |