blob: a2c0b9022771002b54360575bae193904206a08d [file] [log] [blame]
Andrew Geissler517393d2023-01-13 08:55:19 -06001From e355ca3b8ddcc6e73ee140f53d25634afdaec0da 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 Geissler517393d2023-01-13 08:55:19 -060017index 2ade5d9..f85cdba 100644
Andrew Geissler475cb722020-07-10 16:00:51 -050018--- a/tests/Makefile.am
19+++ b/tests/Makefile.am
Andrew Geissler517393d2023-01-13 08:55:19 -060020@@ -98,7 +98,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 \
Andrew Geissler517393d2023-01-13 08:55:19 -060028 run-ar-N.sh \