1From 1ca86294ee5454592c9ad855e13080509d8a92d3 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Tue, 23 Jun 2020 07:49:35 +0000
4Subject: [PATCH] tests/Makefile.am: compile test_nlist with standard CFLAGS
5
6Otherwise, it will contain build paths in it and wont
7be reproducible.
8
9Upstream-Status: Inappropriate [oe-core specific]
10Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
11---
12 tests/Makefile.am | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/tests/Makefile.am b/tests/Makefile.am
16index 8048b69..d2b28a4 100644
17--- a/tests/Makefile.am
18+++ b/tests/Makefile.am
19@@ -86,7 +86,7 @@ backtrace-child-biarch$(EXEEXT): backtrace-child.c
20 test-nlist$(EXEEXT): test-nlist.c
21 	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
22 	  $(AM_CPPFLAGS) $(CPPFLAGS) \
23-	  $(test_nlist_CFLAGS) $(test_nlist_LDADD) -o $@ $<
24+	  $(CFLAGS) $(test_nlist_LDADD) -o $@ $<
25
26 TESTS = run-arextract.sh run-arsymtest.sh run-ar.sh newfile test-nlist \
27 	update1 update2 update3 update4 \
28