summaryrefslogtreecommitdiff
path: root/packages/udhcp/files/nostrip.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/udhcp/files/nostrip.patch
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/udhcp/files/nostrip.patch')
-rw-r--r--packages/udhcp/files/nostrip.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/packages/udhcp/files/nostrip.patch b/packages/udhcp/files/nostrip.patch
index e69de29bb2..7c8af095cc 100644
--- a/packages/udhcp/files/nostrip.patch
+++ b/packages/udhcp/files/nostrip.patch
@@ -0,0 +1,30 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- udhcp-0.9.8/Makefile~nostrip
++++ udhcp-0.9.8/Makefile
+@@ -24,7 +24,6 @@
+
+ VER := 0.9.8
+
+-
+ OBJS_SHARED = options.o socket.o packet.o pidfile.o
+ DHCPD_OBJS = dhcpd.o arpping.o files.o leases.o serverpacket.o
+ DHCPC_OBJS = dhcpc.o clientpacket.o script.o
+@@ -56,14 +55,11 @@
+
+ ifdef DEBUG
+ CFLAGS += -g -DDEBUG
+-STRIP=true
+ else
+ CFLAGS += -Os -fomit-frame-pointer
+-STRIP=$(CROSS_COMPILE)strip
+ endif
+
+ all: $(EXEC1) $(EXEC2) $(EXEC3)
+- $(STRIP) --remove-section=.note --remove-section=.comment $(EXEC1) $(EXEC2) $(EXEC3)
+
+ $(OBJS1) $(OBJS2) $(OBJS3): *.h Makefile
+ $(EXEC1) $(EXEC2) $(EXEC3): Makefile