summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/ectool/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/ectool/Makefile b/util/ectool/Makefile
index 8670def922..a90773e5c6 100644
--- a/util/ectool/Makefile
+++ b/util/ectool/Makefile
@@ -1,12 +1,12 @@
## SPDX-License-Identifier: GPL-2.0-only
-CC = gcc
+CC ?= gcc
WERROR=-Werror
CFLAGS = -O2 -Wall -Wextra -Wshadow $(WERROR)
PROGRAM = ectool
-INSTALL = /usr/bin/env install
-PREFIX = /usr/local
-OS_ARCH = $(shell uname)
+INSTALL ?= /usr/bin/env install
+PREFIX ?= /usr/local
+OS_ARCH ?= $(shell uname)
ifeq ($(shell uname -o 2>/dev/null), Cygwin)
LDFLAGS = -lioperm