util/nvmutil: default to clang on make-hell

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-03-17 21:00:43 +00:00
parent dcdbd5eda1
commit 16d50d42da

View File

@@ -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