summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRusty Russell <rusty@linuxcare.com.au>2001-04-21 04:25:09 +0000
committerRusty Russell <rusty@rustcorp.com.au>2001-04-21 04:25:09 +0000
commitda70715426ccd5bda79fe597945bf7da43597368 (patch)
tree88bcf9507c2ba47a12fd7726a023cb5481bf00cf /Makefile
parentb5166476721dd0b663f52bd220ef008ca269c0dc (diff)
Added hppa 64-bit hack next to sparc64 hack.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
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