Skip to content

Commit

Permalink
Makefile: Export the NM variable to the test environment.
Browse files Browse the repository at this point in the history
In commit 2c44032 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.
  • Loading branch information
besser82 committed Aug 13, 2020
1 parent 2c44032 commit eca7aff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eca7aff

Please sign in to comment.