Makefile.common: don't export CC, AR, ... to sub-make
Or we might prepend "@echo .." two times. Reproduced by: CC=gcc make Signed-off-by: minux <minux.ma@gmail.com>
This commit is contained in:
parent
ea5ad1478a
commit
b1377a323b
|
@ -43,6 +43,10 @@ else
|
|||
DEPEND = $(DEPEND_quiet)
|
||||
RANLIB = $(RANLIB_quiet)
|
||||
endif
|
||||
# because all sub Makefiles also include this file, no need to pass down
|
||||
# these variables. or we risk producing "@echo ... && @echo ... && cc .."
|
||||
# which is not correct.
|
||||
unexport CC AR DEPEND RANLIB
|
||||
|
||||
# ----- Dependencies ----------------------------------------------------------
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user