Add -mlong-calls to hppa module builds.
This commit is contained in:
parent
7732e16eb9
commit
b88df2aff1
@ -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 @@ CFLAGS+= -fno-strict-aliasing -Wno-pointer-sign
|
||||
# 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"
|
||||
|
Loading…
Reference in New Issue
Block a user