mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Add -msoft-float to COPTS to stop GCC attempting to be "smart" and using
floating point registers for various optimisation tweaks.
This commit is contained in:
parent
651974ee92
commit
00267919e1
2 changed files with 7 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ INCLUDES+= -I$S/../include
|
|||
INCLUDES+= -I/usr/include
|
||||
.endif
|
||||
|
||||
COPTS= ${INCLUDES} ${IDENT} -D_KERNEL -include opt_global.h
|
||||
COPTS= ${INCLUDES} ${IDENT} -D_KERNEL -D__ELF__ -D__FreeBSD__ -include opt_global.h -msoft-float
|
||||
CFLAGS= ${COPTFLAGS} ${CWARNFLAGS} ${DEBUG} ${COPTS}
|
||||
|
||||
# XXX LOCORE means "don't declare C stuff" not "for locore.s".
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ powerpc/powerpc/clock.c standard
|
|||
powerpc/powerpc/copyinstr.c standard
|
||||
powerpc/powerpc/copystr.c standard
|
||||
powerpc/powerpc/elf_machdep.c standard
|
||||
powerpc/powerpc/extintr.c standard
|
||||
powerpc/powerpc/fubyte.c standard
|
||||
powerpc/powerpc/fuswintr.c standard
|
||||
powerpc/powerpc/fuword.c standard
|
||||
|
|
@ -34,6 +35,11 @@ powerpc/powerpc/swtch.s standard
|
|||
powerpc/powerpc/trap.c standard
|
||||
powerpc/powerpc/vm_machdep.c standard
|
||||
|
||||
powerpc/powerpc/db_disasm.c optional ddb
|
||||
powerpc/powerpc/db_interface.c optional ddb
|
||||
powerpc/powerpc/db_memrw.c optional ddb
|
||||
powerpc/powerpc/db_trace.c optional ddb
|
||||
|
||||
dev/ofw/openfirm.c standard
|
||||
dev/ofw/ofw_console.c standard
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue