blob: c494d7f2e5063b4282686b3dc5a772392b97fee6 [file] [log] [blame]
Andrew Geissler90fd73c2021-03-05 15:25:55 -06001From 22e0e1c01ec680a2970f4d5ca9e47f90259cbdcf 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 Geissler90fd73c2021-03-05 15:25:55 -060017index a2dfd43..40a0228 100644
Andrew Geissler475cb722020-07-10 16:00:51 -050018--- a/tests/Makefile.am
19+++ b/tests/Makefile.am
Andrew Geissler90fd73c2021-03-05 15:25:55 -060020@@ -90,7 +90,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 \