From eca7aff35b11dc628c7337d7fbe5691ab91e3678 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Fri, 14 Aug 2020 00:13:24 +0200 Subject: [PATCH] Makefile: Export the NM variable to the test environment. In commit 2c44032baf42d3852f7df7a51459c6c96b7dc8bf we modified some tests to prefer the nm executable from the environment. In order to make use of this change, the Makefile must export it properly. --- Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 381a49f9..54403098 100644 --- a/Makefile.am +++ b/Makefile.am @@ -427,7 +427,8 @@ AM_TESTS_ENVIRONMENT = \ CPP="$(CPP)"; \ CPPFLAGS="$(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES)"; \ CPPFLAGS="$${CPPFLAGS} $(AM_CPPFLAGS) $(CPPFLAGS)"; \ - export host_os lib_la lib_map AWK CC CPP CPPFLAGS; + NM="$(NM)"; \ + export host_os lib_la lib_map AWK CC CPP CPPFLAGS NM; if CROSS_COMPILING LOG_COMPILER = m4/skip-if-exec-format-error