summaryrefslogtreecommitdiff
path: root/util/nvmutil/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'util/nvmutil/Makefile')
-rw-r--r--util/nvmutil/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/util/nvmutil/Makefile b/util/nvmutil/Makefile
index fa1d0b0c..6488ca43 100644
--- a/util/nvmutil/Makefile
+++ b/util/nvmutil/Makefile
@@ -3,6 +3,8 @@
# Copyright (c) 2023 Riku Viitanen <riku.viitanen@protonmail.com>
CC?=cc
+HELLCC?=clang
+
CFLAGS?=
LDFLAGS?=
DESTDIR?=
@@ -36,7 +38,7 @@ strict: $(PROG).c
# clang-only extreme warnings (not portable)
hell: $(PROG).c
- $(CC) $(HELLFLAGS) $(PROG).c -o $(PROG) $(LDFLAGS)
+ $(HELLCC) $(HELLFLAGS) $(PROG).c -o $(PROG) $(LDFLAGS)
install: $(PROG)
$(INSTALL) -d $(DESTDIR)$(PREFIX)/bin