Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/mk Update the list of hppa options to build working ke...



details:   https://anonhg.NetBSD.org/src/rev/6e2ca89cecc3
branches:  trunk
changeset: 971964:6e2ca89cecc3
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon May 11 10:21:24 2020 +0000

description:
Update the list of hppa options to build working kernel modules.

diffstat:

 share/mk/bsd.kmodule.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r e6f5a3aa62e9 -r 6e2ca89cecc3 share/mk/bsd.kmodule.mk
--- a/share/mk/bsd.kmodule.mk   Mon May 11 09:51:47 2020 +0000
+++ b/share/mk/bsd.kmodule.mk   Mon May 11 10:21:24 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.kmodule.mk,v 1.67 2020/05/02 09:15:30 rin Exp $
+#      $NetBSD: bsd.kmodule.mk,v 1.68 2020/05/11 10:21:24 skrll Exp $
 
 # We are not building this with PIE
 MKPIE=no
@@ -47,7 +47,7 @@
 .elif ${MACHINE_CPU} == "arm"
 CFLAGS+=       -fno-common -fno-unwind-tables
 .elif ${MACHINE_CPU} == "hppa"
-CFLAGS+=       -mlong-calls
+CFLAGS+=       -mlong-calls -mno-space-regs -mfast-indirect-calls
 .elif ${MACHINE_CPU} == "powerpc"
 CFLAGS+=       ${${ACTIVE_CC} == "gcc":? -mlongcall :}
 .elif ${MACHINE_CPU} == "vax"



Home | Main Index | Thread Index | Old Index