Modules on PPC need to be compiled with -mlongcall to get around
the +/-64k blr offset limitation. With gcc bug #12769 fixed, it's time to put enable this.
This commit is contained in:
parent
386418146a
commit
6494b2d4b0
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user