From 3f85ae5f853ce7c4b7fea92af112fad26e811ebf Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Fri, 3 Jan 2025 01:48:52 +0000 Subject: 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 --- util/nvmutil/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util/nvmutil') 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 # SPDX-FileCopyrightText: 2023 Riku Viitanen -CC=cc -CFLAGS=-Os -Wall -Wextra -Werror -pedantic +CC?=cc +CFLAGS?=-Os -Wall -Wextra -Werror -pedantic PREFIX?=/usr/bin nvm: nvmutil.c -- cgit v1.2.1