diff options
Diffstat (limited to 'graphics/xaos')
-rw-r--r-- | graphics/xaos/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/graphics/xaos/Makefile b/graphics/xaos/Makefile index 2991f176c41c..8651d120a560 100644 --- a/graphics/xaos/Makefile +++ b/graphics/xaos/Makefile @@ -44,6 +44,11 @@ MAN6= xaos.6 .include <bsd.port.pre.mk> +# GCC 3.4.2 alleges prototype mismatches with __attribute__((regparm)) +.if ${OSVERSION} >= 502125 +CFLAGS+= -DNOREGISTERS +.endif + .if ${ARCH} != "i386" && ${ARCH} != "amd64" && ${OSVERSION} >= 502102 BROKEN= "Does not compile on FreeBSD >=5.x on !i386 and !amd64" .endif |