summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 218d7a6..3d18b6a 100644
--- a/Makefile
+++ b/Makefile
@@ -22,13 +22,13 @@
#CFLAGS := -Wall -Wextra -Wno-unused-variable -Wno-unused-function
CFLAGS := -Wno-unused-variable -Wno-unused-function
CFLAGS =
-CC =
+CC ?=
ifeq ($(ARCH), arm64)
# arm64
- CC = aarch64-linux-gnu-gcc
+ CC ?= aarch64-linux-gnu-gcc
else
- CC = gcc
+ CC ?= gcc
endif
ifeq ($(VHOST_USER_RNG), 1)