Source-Changes-HG archive

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

[src/trunk]: src/share/mk Add -mlong-calls to hppa module builds.



details:   https://anonhg.NetBSD.org/src/rev/0f6854e086c7
branches:  trunk
changeset: 789074:0f6854e086c7
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Aug 06 06:08:39 2013 +0000

description:
Add -mlong-calls to hppa module builds.

diffstat:

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

diffs (18 lines):

diff -r 7945bc4dceb9 -r 0f6854e086c7 share/mk/bsd.kmodule.mk
--- a/share/mk/bsd.kmodule.mk   Tue Aug 06 05:57:37 2013 +0000
+++ b/share/mk/bsd.kmodule.mk   Tue Aug 06 06:08:39 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.kmodule.mk,v 1.37 2012/08/10 16:34:23 joerg Exp $
+#      $NetBSD: bsd.kmodule.mk,v 1.38 2013/08/06 06:08:39 skrll Exp $
 
 # We are not building this with PIE
 MKPIE=no
@@ -28,6 +28,8 @@
 # resulting code would be much faster.
 .if ${MACHINE_CPU} == "arm"
 CFLAGS+=       -mlong-calls
+.elif ${MACHINE_CPU} == "hppa"
+CFLAGS+=       -mlong-calls
 .elif ${MACHINE_CPU} == "powerpc"
 CFLAGS+=       -mlongcall
 .elif ${MACHINE_CPU} == "vax"



Home | Main Index | Thread Index | Old Index