mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
Disable generating vfp and NEON instructions in the arm kernel.
This commit is contained in:
parent
7f29c69aee
commit
9677c48e30
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=272605
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user