summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorrusty <rusty>2000-09-19 07:01:00 +0000
committerrusty <rusty>2000-09-19 07:01:00 +0000
commitfdea843c1a2f16d1c1e22e50d406824e8254edfd (patch)
treedfb96eb797dbd2ce7e6fc87ec38d003d6af3a856 /Makefile
parent0bb20739b4b0cf137e2a639617f1eb6fd3a69b14 (diff)
Fixed ultrasparc alignment define.
Only print extensions when there are some.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a292ca5..ade83b8 100644
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,7 @@ EXTRA_INSTALLS+=$(DESTDIR)$(BINDIR)/iptables $(DESTDIR)$(BINDIR)/ip6tables $(DES
# 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 -DKERNEL_64_USERSPACE_32
+CFLAGS+=-DIPT_MIN_ALIGN=8 -DKERNEL_64_USERSPACE_32
endif
ifndef IPT_LIBDIR
@@ -33,7 +33,7 @@ endif
default: print-extensions all
print-extensions:
- @echo Extensions found: $(OPTIONALS)
+ @[ -n "$(OPTIONALS)" ] && echo Extensions found: $(OPTIONALS)
iptables.o: iptables.c
$(CC) $(CFLAGS) -DIPT_LIB_DIR=\"$(IPT_LIBDIR)\" -c -o $@ $<