util/nvmutil: Set CC and CFLAGS only if unset

We don't want to clobber anything that the user set themselves.

Instead, we should respect the user's choice.

Signed-off-by: Leah Rowe <leah@libreboot.org>
master
Leah Rowe 2025-01-03 01:48:52 +00:00
parent 2c7b9fb941
commit 3f85ae5f85
1 changed files with 2 additions and 2 deletions

View File

@ -2,8 +2,8 @@
# SPDX-FileCopyrightText: 2022,2025 Leah Rowe <leah@libreboot.org>
# SPDX-FileCopyrightText: 2023 Riku Viitanen <riku.viitanen@protonmail.com>
CC=cc
CFLAGS=-Os -Wall -Wextra -Werror -pedantic
CC?=cc
CFLAGS?=-Os -Wall -Wextra -Werror -pedantic
PREFIX?=/usr/bin
nvm: nvmutil.c