building iptables on f8
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 13 Dec 2007 12:24:01 +0000 (12:24 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 13 Dec 2007 12:24:01 +0000 (12:24 +0000)
ipset/Makefile

index 5ce9fd5..4c30481 100644 (file)
@@ -5,6 +5,12 @@ IPSET_LIB_DIR:=$(LIBDIR)/ipset
 IPSET_CFLAGS:=# -g -DIPSET_DEBUG #-pg # -DIPTC_DEBUG
 SETTYPES:=ipmap portmap macipmap iphash nethash iptree iptreemap ipporthash
 
+# for building on fedora 8
+ifneq "$(shell ld --help | grep build-id)" ""
+#not needed# CFLAGS += -Wl,--build-id
+LD += --build-id
+endif
+
 ifneq ($(wildcard $(KERNEL_DIR)/include/linux/netfilter_ipv4/ip_set.h),)
 
 EXTRAS+=ipset/ipset