mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
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>
This commit is contained in:
@@ -2,8 +2,8 @@
|
|||||||
# SPDX-FileCopyrightText: 2022,2025 Leah Rowe <leah@libreboot.org>
|
# SPDX-FileCopyrightText: 2022,2025 Leah Rowe <leah@libreboot.org>
|
||||||
# SPDX-FileCopyrightText: 2023 Riku Viitanen <riku.viitanen@protonmail.com>
|
# SPDX-FileCopyrightText: 2023 Riku Viitanen <riku.viitanen@protonmail.com>
|
||||||
|
|
||||||
CC=cc
|
CC?=cc
|
||||||
CFLAGS=-Os -Wall -Wextra -Werror -pedantic
|
CFLAGS?=-Os -Wall -Wextra -Werror -pedantic
|
||||||
PREFIX?=/usr/bin
|
PREFIX?=/usr/bin
|
||||||
|
|
||||||
nvm: nvmutil.c
|
nvm: nvmutil.c
|
||||||
|
|||||||
Reference in New Issue
Block a user