Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c21568ff authored by Markus Mayer's avatar Markus Mayer Committed by Zhang Rui
Browse files

tools/thermal: tmon: allow $(CC) to be defined externally



It can be helpful, especially when using a build system, to set the C
compiler externally.

Signed-off-by: default avatarMarkus Mayer <mmayer@broadcom.com>
Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
parent ec04aa3a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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+=