diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-17 21:00:43 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-26 06:59:42 +0000 |
| commit | 3871b601247ee8297d6d43cb512f86562adcfe9c (patch) | |
| tree | 6859b7207128df87f12687782a775dab7e6afc36 | |
| parent | 5d7e516e33379361c5e5b1005a3a1fd6aea07ae9 (diff) | |
util/nvmutil: default to clang on make-hell
Signed-off-by: Leah Rowe <leah@libreboot.org>
| -rw-r--r-- | util/nvmutil/Makefile | 4 |
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 |
