summaryrefslogtreecommitdiffstats
path: root/recipes-extended/glusterfs/files/xlator-host-contamination-3.4.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-extended/glusterfs/files/xlator-host-contamination-3.4.patch')
-rw-r--r--recipes-extended/glusterfs/files/xlator-host-contamination-3.4.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/recipes-extended/glusterfs/files/xlator-host-contamination-3.4.patch b/recipes-extended/glusterfs/files/xlator-host-contamination-3.4.patch
new file mode 100644
index 0000000..16cc47e
--- /dev/null
+++ b/recipes-extended/glusterfs/files/xlator-host-contamination-3.4.patch
@@ -0,0 +1,44 @@
1Three of the translator makefiles in glusterfs add unnecessary
2-L$(xlatordir) link options. This option causes the linker to check
3the host's $(xlatordir) directory, resulting in contamination that gets
4flagged by Yocto's QA rules.
5
6Upstream-Status: Pending
7Signed-off-by: Donn Seeley <donn.seeley@windriver.com>
8---
9 xlators/mgmt/glusterd/src/Makefile.am | 2 --
10 xlators/nfs/server/src/Makefile.am | 2 --
11 xlators/system/posix-acl/src/Makefile.am | 2 --
12 3 files changed, 6 deletions(-)
13
14--- a/xlators/mgmt/glusterd/src/Makefile.am
15+++ b/xlators/mgmt/glusterd/src/Makefile.am
16@@ -33,8 +33,6 @@ AM_CPPFLAGS = $(GF_CPPFLAGS) -I$(top_src
17
18 AM_CFLAGS = -Wall $(GF_CFLAGS)
19
20-AM_LDFLAGS = -L$(xlatordir)
21-
22 CLEANFILES =
23
24 install-data-hook:
25--- a/xlators/nfs/server/src/Makefile.am
26+++ b/xlators/nfs/server/src/Makefile.am
27@@ -19,6 +19,4 @@ AM_CPPFLAGS = $(GF_CPPFLAGS) \
28
29 AM_CFLAGS = -Wall $(GF_CFLAGS)
30
31-AM_LDFLAGS = -L$(xlatordir)
32-
33 CLEANFILES =
34--- a/xlators/system/posix-acl/src/Makefile.am
35+++ b/xlators/system/posix-acl/src/Makefile.am
36@@ -10,8 +10,6 @@ AM_CPPFLAGS = $(GF_CPPFLAGS) -I$(top_src
37
38 AM_CFLAGS = -Wall $(GF_CFLAGS)
39
40-AM_LDFLAGS = -L$(xlatordir)
41-
42 CLEANFILES =
43
44 access-control-compat: