1From 9d5e7eff4ae906f1ea6e6527080fded0b595fbd4 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
17Upstream-Status: Inappropriate [oe specific]
18
19Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
20
21---
22 Makefile | 2 +-
23 1 file changed, 1 insertion(+), 1 deletion(-)
24
25diff --git a/Makefile b/Makefile
26index 54f8d97..dbbe43d 100644
27--- a/Makefile
28+++ b/Makefile
29@@ -118,7 +118,7 @@ clean:
30 ver_test: ver
31 	./ver
32
33-${Bin}: override LDFLAGS += -static -s
34+${Bin}: override LDFLAGS += -static
35 ${Bin}: LDLIBS = -L. -lautil
36 ${BinObj}: %.o: %.c ${LibUtilHdr} ${LibUtil}
37
38