0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch 1012 B

12345678910111213141516171819202122232425262728
  1. From fa265ff686cb60e19aa607bda3752b6b2ee87a14 Mon Sep 17 00:00:00 2001
  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. Otherwise, it will contain build paths in it and wont
  6. be reproducible.
  7. Upstream-Status: Inappropriate [oe-core specific]
  8. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
  9. ---
  10. tests/Makefile.am | 2 +-
  11. 1 file changed, 1 insertion(+), 1 deletion(-)
  12. diff --git a/tests/Makefile.am b/tests/Makefile.am
  13. index 05fc9b4..11de0fc 100644
  14. --- a/tests/Makefile.am
  15. +++ b/tests/Makefile.am
  16. @@ -92,7 +92,7 @@ endif
  17. test-nlist$(EXEEXT): test-nlist.c
  18. $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
  19. $(AM_CPPFLAGS) $(CPPFLAGS) \
  20. - $(test_nlist_CFLAGS) $(GCOV_FLAGS) -o $@ $< $(test_nlist_LDADD)
  21. + $(CFLAGS) $(GCOV_FLAGS) -o $@ $< $(test_nlist_LDADD)
  22. TESTS = run-arextract.sh run-arsymtest.sh run-ar.sh newfile test-nlist \
  23. update1 update2 update3 update4 \