Skip to content

Commit

Permalink
Makefile.defs: print target info only if changed
Browse files Browse the repository at this point in the history
(cherry picked from commit 14b3bb6)
  • Loading branch information
razvancrainea committed Aug 19, 2015
1 parent 53e7ae8 commit 9481f7a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile.defs
Expand Up @@ -498,7 +498,9 @@ endif # predefined macros tests (x86_macros, ...)
endif # gcc

ifdef CC_ARCH
$(info "target architecture <$(CC_ARCH)>, host architecture <$(HOST_ARCH)>")
ifeq ($(CC_ARCH),$(HOST_ARCH))
$(info Target architecture <$(CC_ARCH)>, host architecture <$(HOST_ARCH)>)
endif
ARCH:=$(CC_ARCH)
else
ARCH:=$(HOST_ARCH)
Expand Down

0 comments on commit 9481f7a

Please sign in to comment.