From: Rusty Russell Date: Sat, 21 Apr 2001 04:25:09 +0000 (+0000) Subject: Added hppa 64-bit hack next to sparc64 hack. X-Git-Tag: v1.2.2~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=da70715426ccd5bda79fe597945bf7da43597368;p=thirdparty%2Fiptables.git Added hppa 64-bit hack next to sparc64 hack. --- diff --git a/Makefile b/Makefile index eb4f7d06..b7ca0212 100644 --- a/Makefile +++ b/Makefile @@ -48,6 +48,12 @@ ifeq ($(shell uname -m),sparc64) CFLAGS+=-DIPT_MIN_ALIGN=8 -DKERNEL_64_USERSPACE_32 endif +# HPPA hack +ifeq ($(shell uname -m),parisc64) +# The kernel is 64-bit, even though userspace is 32. +CFLAGS+=-DIPT_MIN_ALIGN=8 -DKERNEL_64_USERSPACE_32 +endif + ifndef IPT_LIBDIR IPT_LIBDIR:=$(LIBDIR)/iptables endif