aboutsummaryrefslogtreecommitdiffstats
path: root/meta-filesystems/recipes-utils/aufs-util/aufs-util/aufs-util-don-t-strip-executables.patch
blob: fe2a6a576a01323ab574ad386b1a61a551ea57e4 (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
31
32
33
34
35
36
37
From 244863eca77fcaa1187884836c3e28d6b6d1504a Mon Sep 17 00:00:00 2001
From: Bruce Ashfield <bruce.ashfield@windriver.com>
Date: Tue, 9 Apr 2013 18:50:34 -0700
Subject: [PATCH] aufs-util: don't strip executables

By default, aufs-util strips its binaries. This produces QA warnings
as follows:

   WARNING: File '/sbin/mount.aufs' from aufs-util was already stripped, this will prevent future debugging!
   WARNING: File '/sbin/auplink' from aufs-util was already stripped, this will prevent future debugging!
   WARNING: File '/sbin/umount.aufs' from aufs-util was already stripped, this will prevent future debugging!
   WARNING: File '/sbin/auibusy' from aufs-util was already stripped, this will prevent future debugging!
   WARNING: File '/usr/lib/libau.so.2.6' from aufs-util was already stripped, this will prevent future debugging!

To prevent this, we remove -s from LDFLAGS.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
---
 Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 2f905ad..e0c6dcd 100644
--- a/Makefile
+++ b/Makefile
@@ -56,7 +56,7 @@ all: ver_test ${Man} ${Bin} ${Etc}
 ver_test: ver
 	./ver
 
-${Bin}: override LDFLAGS += -static -s
+${Bin}: override LDFLAGS += -static
 ${Bin}: LDLIBS = -L. -lautil
 ${BinObj}: %.o: %.c ${LibUtilHdr} ${LibUtil}
 
-- 
1.7.10.4