diff options
author | Rusty Russell <rusty@linuxcare.com.au> | 2000-04-27 10:16:47 +0000 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2000-04-27 10:16:47 +0000 |
commit | 09b9a413af814362152a83560917ba4e7b5ee171 (patch) | |
tree | e4107faee8dcb603dbbceb7106a7e22e2c05d6fb /Makefile | |
parent | 24d69421f9c5674e8650084a15bb4b3e8d5dec0b (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 |