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