]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
Dependencies for libiptc.a fixed.
authorRusty Russell <rusty@linuxcare.com.au>
Thu, 27 Apr 2000 10:16:47 +0000 (10:16 +0000)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 27 Apr 2000 10:16:47 +0000 (10:16 +0000)
Makefile

index 615fb593bd3ea4b3c7bb0b4727c14ff59c349860..640e5b8d2371804cd23f6914a87069c3f6218424 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -21,6 +21,12 @@ DEPFILES := $(SHARED_LIBS:%.so=%.d)
 EXTRAS+=iptables iptables.o #iptables-save iptables-restore
 EXTRA_INSTALLS+=$(DESTDIR)$(BINDIR)/iptables $(DESTDIR)$(MANDIR)/man8/iptables.8 #$(DESTDIR)$(BINDIR)/iptables-save $(DESTDIR)$(BINDIR)/iptables-restore
 
+# Sparc64 hack
+ifeq ($(shell uname -m),sparc64)
+# The kernel is 64-bit, even though userspace is 32.
+CFLAGS+=-DIPT_MIN_MATCH_ALIGN=8 -DIPT_MIN_ENTRY_ALIGN=8
+endif
+
 ifndef IPT_LIBDIR
 IPT_LIBDIR:=$(LIBDIR)/iptables
 endif