summaryrefslogtreecommitdiff
path: root/packages/udhcp/files/nostrip.patch
blob: 7c8af095cc37434bf69609971e017810309b4b4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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