mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-20 05:36:23 +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>
|
# Copyright (c) 2023 Riku Viitanen <riku.viitanen@protonmail.com>
|
||||||
|
|
||||||
CC?=cc
|
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?=
|
LDFLAGS?=
|
||||||
DESTDIR?=
|
DESTDIR?=
|
||||||
PREFIX?=/usr/local
|
PREFIX?=/usr/local
|
||||||
|
|||||||
Reference in New Issue
Block a user