mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 17:04:19 +01:00
Add PowerPC CFLAGS.
Submitted by: gallatin
This commit is contained in:
parent
8b45548804
commit
813dd1729c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=123230
@ -67,6 +67,15 @@ CFLAGS+= -mcmodel=kernel -mno-red-zone \
|
||||
INLINE_LIMIT?= 20000
|
||||
.endif
|
||||
|
||||
#
|
||||
# For PowerPC we tell gcc to use floating point emulation. This avoids using
|
||||
# floating point registers for integer operations which it has a tendency to do.
|
||||
#
|
||||
.if ${MACHINE_ARCH} == "powerpc"
|
||||
CFLAGS+= -msoft-float
|
||||
INLINE_LIMIT?= 15000
|
||||
.endif
|
||||
|
||||
#
|
||||
# GCC 3.0 and above like to do certain optimizations based on the
|
||||
# assumption that the program is linked against libc. Stop this.
|
||||
|
Loading…
Reference in New Issue
Block a user