blob: fe2a6a576a01323ab574ad386b1a61a551ea57e4 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001From 244863eca77fcaa1187884836c3e28d6b6d1504a Mon Sep 17 00:00:00 2001
2From: Bruce Ashfield <bruce.ashfield@windriver.com>
3Date: Tue, 9 Apr 2013 18:50:34 -0700
4Subject: [PATCH] aufs-util: don't strip executables
5
6By default, aufs-util strips its binaries. This produces QA warnings
7as follows:
8
9 WARNING: File '/sbin/mount.aufs' from aufs-util was already stripped, this will prevent future debugging!
10 WARNING: File '/sbin/auplink' from aufs-util was already stripped, this will prevent future debugging!
11 WARNING: File '/sbin/umount.aufs' from aufs-util was already stripped, this will prevent future debugging!
12 WARNING: File '/sbin/auibusy' from aufs-util was already stripped, this will prevent future debugging!
13 WARNING: File '/usr/lib/libau.so.2.6' from aufs-util was already stripped, this will prevent future debugging!
14
15To prevent this, we remove -s from LDFLAGS.
16
17Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
18---
19 Makefile | 2 +-
20 1 file changed, 1 insertion(+), 1 deletion(-)
21
22diff --git a/Makefile b/Makefile
23index 2f905ad..e0c6dcd 100644
24--- a/Makefile
25+++ b/Makefile
26@@ -56,7 +56,7 @@ all: ver_test ${Man} ${Bin} ${Etc}
27 ver_test: ver
28 ./ver
29
30-${Bin}: override LDFLAGS += -static -s
31+${Bin}: override LDFLAGS += -static
32 ${Bin}: LDLIBS = -L. -lautil
33 ${BinObj}: %.o: %.c ${LibUtilHdr} ${LibUtil}
34
35--
361.7.10.4
37