summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorrusty <rusty>2001-04-21 04:25:09 +0000
committerrusty <rusty>2001-04-21 04:25:09 +0000
commite0a2abe03c6b8ce70e236ceb193ab227256e3225 (patch)
tree88bcf9507c2ba47a12fd7726a023cb5481bf00cf /Makefile
parent940531ee3445943a397aa5c8e9e3ab4991faf068 (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 eb4f7d0..b7ca021 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