diff options
author | Leah Rowe <leah@libreboot.org> | 2025-01-03 01:48:52 +0000 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-01-03 01:48:52 +0000 |
commit | 3f85ae5f853ce7c4b7fea92af112fad26e811ebf (patch) | |
tree | 2d447f91bfc80c4cb8c682213149ad2557083803 /util | |
parent | 2c7b9fb9412cd24c2fbf2191cb9b012faf8ad441 (diff) |
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>
Diffstat (limited to 'util')
-rw-r--r-- | util/nvmutil/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/nvmutil/Makefile b/util/nvmutil/Makefile index ca23c714..a1999d7e 100644 --- a/util/nvmutil/Makefile +++ b/util/nvmutil/Makefile @@ -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 |