blob: d7b382fd94e67f2c514bc18f8c21d3bbe0cef3ba [file] [log] [blame]
Andrew Geissler6ce62a22020-11-30 19:58:47 -06001From fa265ff686cb60e19aa607bda3752b6b2ee87a14 Mon Sep 17 00:00:00 2001
Andrew Geissler475cb722020-07-10 16:00:51 -05002From: 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>
Andrew Geissler6ce62a22020-11-30 19:58:47 -060011
Andrew Geissler475cb722020-07-10 16:00:51 -050012---
13 tests/Makefile.am | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/tests/Makefile.am b/tests/Makefile.am
Andrew Geissler6ce62a22020-11-30 19:58:47 -060017index 05fc9b4..11de0fc 100644
Andrew Geissler475cb722020-07-10 16:00:51 -050018--- a/tests/Makefile.am
19+++ b/tests/Makefile.am
Andrew Geissler6ce62a22020-11-30 19:58:47 -060020@@ -92,7 +92,7 @@ endif
Andrew Geissler475cb722020-07-10 16:00:51 -050021 test-nlist$(EXEEXT): test-nlist.c
22 $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
23 $(AM_CPPFLAGS) $(CPPFLAGS) \
Andrew Geissler6ce62a22020-11-30 19:58:47 -060024- $(test_nlist_CFLAGS) $(GCOV_FLAGS) -o $@ $< $(test_nlist_LDADD)
25+ $(CFLAGS) $(GCOV_FLAGS) -o $@ $< $(test_nlist_LDADD)
Andrew Geissler475cb722020-07-10 16:00:51 -050026
27 TESTS = run-arextract.sh run-arsymtest.sh run-ar.sh newfile test-nlist \
28 update1 update2 update3 update4 \