Disable generating vfp and NEON instructions in the arm kernel.

This commit is contained in:
andrew 2014-10-06 09:52:28 +00:00
parent 16b2df6b9e
commit 4f66e1e13e

View File

@ -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