summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPeter Grehan <grehan@FreeBSD.org>2005-01-06 06:26:11 +0000
committerPeter Grehan <grehan@FreeBSD.org>2005-01-06 06:26:11 +0000
commitfded756e72640c73ae2b7f026a32c7c21faef96d (patch)
tree95ce0b273d14faba43b64b8c45c5267bf0c1d4d2 /sys
parent55708fbbeca1863f218bdb026d4336fa86b3d6cd (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/conf/kmod.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk
index 5c3ea0129768..36b8d318e9c9 100644
--- a/sys/conf/kmod.mk
+++ b/sys/conf/kmod.mk
@@ -127,6 +127,10 @@ CFLAGS+= ${DEBUG_FLAGS}
CFLAGS+= -fno-omit-frame-pointer
.endif
+.if ${MACHINE_ARCH} == "powerpc"
+CFLAGS+= -mlongcall
+.endif
+
OBJS+= ${SRCS:N*.h:R:S/$/.o/g}
.if !defined(PROG)