diff options
author | rusty <rusty> | 2000-04-27 10:16:47 +0000 |
---|---|---|
committer | rusty <rusty> | 2000-04-27 10:16:47 +0000 |
commit | 6513c409c1478465a6c1f16312cb890386d71467 (patch) | |
tree | e4107faee8dcb603dbbceb7106a7e22e2c05d6fb /Makefile | |
parent | 29141bf10fd6228014d873ea6892c71c61aea04b (diff) |
Dependencies for libiptc.a fixed.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |