summaryrefslogtreecommitdiff
path: root/recipes/net-tools/files/net-tools-1.60-pie.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/net-tools/files/net-tools-1.60-pie.patch')
-rw-r--r--recipes/net-tools/files/net-tools-1.60-pie.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/net-tools/files/net-tools-1.60-pie.patch b/recipes/net-tools/files/net-tools-1.60-pie.patch
new file mode 100644
index 0000000000..d4496ffbc8
--- /dev/null
+++ b/recipes/net-tools/files/net-tools-1.60-pie.patch
@@ -0,0 +1,13 @@
+--- net-tools-1.60/Makefile.pie 2001-04-15 16:34:31.000000000 +0200
++++ net-tools-1.60/Makefile 2005-02-28 12:41:15.337127680 +0100
+@@ -113,8 +113,8 @@
+
+ NET_LIB = $(NET_LIB_PATH)/lib$(NET_LIB_NAME).a
+
+-CFLAGS = $(COPTS) -I. -idirafter ./include/ -I$(NET_LIB_PATH)
+-LDFLAGS = $(LOPTS) -L$(NET_LIB_PATH)
++CFLAGS += $(COPTS) -I. -idirafter ./include/ -I$(NET_LIB_PATH)
++LDFLAGS += $(LOPTS) -L$(NET_LIB_PATH)
+
+ SUBDIRS = man/ $(NET_LIB_PATH)/
+