mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-03-25 13:29:03 +02:00
util/nvmutil: default to clang on make-hell
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user