1From 22e0e1c01ec680a2970f4d5ca9e47f90259cbdcf 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---
13 tests/Makefile.am | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/tests/Makefile.am b/tests/Makefile.am
17index a2dfd43..40a0228 100644
18--- a/tests/Makefile.am
19+++ b/tests/Makefile.am
20@@ -90,7 +90,7 @@ endif
21 test-nlist$(EXEEXT): test-nlist.c
22 	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
23 	  $(AM_CPPFLAGS) $(CPPFLAGS) \
24-	  $(test_nlist_CFLAGS) $(GCOV_FLAGS) -o $@ $< $(test_nlist_LDADD)
25+	  $(CFLAGS) $(GCOV_FLAGS) -o $@ $< $(test_nlist_LDADD)
26
27 TESTS = run-arextract.sh run-arsymtest.sh run-ar.sh newfile test-nlist \
28 	update1 update2 update3 update4 \
29