]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
Added hppa 64-bit hack next to sparc64 hack.
authorRusty Russell <rusty@linuxcare.com.au>
Sat, 21 Apr 2001 04:25:09 +0000 (04:25 +0000)
committerRusty Russell <rusty@rustcorp.com.au>
Sat, 21 Apr 2001 04:25:09 +0000 (04:25 +0000)
Makefile

index eb4f7d0663fa11ceadba3ba6966d30dacdd9db6a..b7ca0212095e7f843d920c46138529650e0b5b5a 100644 (file)
--- 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