Three of the translator makefiles in glusterfs add unnecessary -L$(xlatordir) link options. This option causes the linker to check the host's $(xlatordir) directory, resulting in contamination that gets flagged by Yocto's QA rules. Upstream-Status: Pending Signed-off-by: Donn Seeley [Xulin: minor adjust to apply the patch] Signed-off-by: Xuin Sun --- xlators/mgmt/glusterd/src/Makefile.am | 2 +- xlators/nfs/server/src/Makefile.am | 2 -- xlators/system/posix-acl/src/Makefile.am | 2 -- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/xlators/mgmt/glusterd/src/Makefile.am b/xlators/mgmt/glusterd/src/Makefile.am index a8f27fb..8243bf0 100644 --- a/xlators/mgmt/glusterd/src/Makefile.am +++ b/xlators/mgmt/glusterd/src/Makefile.am @@ -54,7 +54,7 @@ AM_CPPFLAGS = $(GF_CPPFLAGS) -I$(top_srcdir)/libglusterfs/src \ AM_CFLAGS = -Wall $(GF_CFLAGS) $(URCU_CFLAGS) $(URCU_CDS_CFLAGS) -AM_LDFLAGS = -L$(xlatordir) $(URCU_LIBS) $(URCU_CDS_LIBS) +AM_LDFLAGS = -L$(URCU_LIBS) $(URCU_CDS_LIBS) CLEANFILES = diff --git a/xlators/nfs/server/src/Makefile.am b/xlators/nfs/server/src/Makefile.am index f91bbcf..b16bb9b 100644 --- a/xlators/nfs/server/src/Makefile.am +++ b/xlators/nfs/server/src/Makefile.am @@ -22,6 +22,4 @@ AM_CPPFLAGS = $(GF_CPPFLAGS) \ AM_CFLAGS = -Wall $(GF_CFLAGS) -AM_LDFLAGS = -L$(xlatordir) - CLEANFILES = diff --git a/xlators/system/posix-acl/src/Makefile.am b/xlators/system/posix-acl/src/Makefile.am index bc5fbc2..0b9fabe 100644 --- a/xlators/system/posix-acl/src/Makefile.am +++ b/xlators/system/posix-acl/src/Makefile.am @@ -10,8 +10,6 @@ AM_CPPFLAGS = $(GF_CPPFLAGS) -I$(top_srcdir)/libglusterfs/src AM_CFLAGS = -Wall $(GF_CFLAGS) -AM_LDFLAGS = -L$(xlatordir) - CLEANFILES = access-control-compat: -- 1.9.1