mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
util/nvmutil: more portable Makefile
-Werror removed, for older compilers actual warnings still there -std is configurable now e.g. make CSTD=-c90 make CSTD=-c99 Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -3,7 +3,11 @@
|
||||
# Copyright (c) 2023 Riku Viitanen <riku.viitanen@protonmail.com>
|
||||
|
||||
CC?=cc
|
||||
CFLAGS?=-Os -Wall -Wextra -Werror -pedantic -std=c90
|
||||
CSTD?=-std=c90
|
||||
WERROR?=
|
||||
CWARN?=-Wall -Wextra -pedantic
|
||||
COPT?=-Os
|
||||
CFLAGS?=$(COPT) $(CWARN) $(CSTD)
|
||||
LDFLAGS?=
|
||||
DESTDIR?=
|
||||
PREFIX?=/usr/local
|
||||
|
||||
Reference in New Issue
Block a user