Skip to content

Commit

Permalink
tools/thermal: tmon: allow $(CC) to be defined externally
Browse files Browse the repository at this point in the history
It can be helpful, especially when using a build system, to set the C
compiler externally.

Signed-off-by: Markus Mayer <mmayer@broadcom.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
  • Loading branch information
Markus Mayer authored and Zhang Rui committed Oct 18, 2017
1 parent ec04aa3 commit c21568f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/thermal/tmon/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ WARNFLAGS=-Wall -Wshadow -W -Wformat -Wimplicit-function-declaration -Wimplicit-
CFLAGS+= -O1 ${WARNFLAGS}
# Add "-fstack-protector" only if toolchain supports it.
CFLAGS+= $(call cc-option,-fstack-protector)
CC=$(CROSS_COMPILE)gcc
CC?= $(CROSS_COMPILE)gcc

CFLAGS+=-D VERSION=\"$(VERSION)\"
LDFLAGS+=
Expand Down

0 comments on commit c21568f

Please sign in to comment.