summaryrefslogtreecommitdiff
path: root/util/spkmodem_recv
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-05-16 07:35:53 +0100
committerLeah Rowe <leah@libreboot.org>2023-05-16 23:11:35 +0100
commitf2887e9b4576f03ba4ec68cfad6beb161597f7cc (patch)
tree6cb82fa8db1a7cd452b0de054bfe29937c965692 /util/spkmodem_recv
parentb496ead7b30b1025595f624c71b5d59756ea9fb4 (diff)
util/spkmodem_recv: Add strict CFLAGS
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/spkmodem_recv')
-rw-r--r--util/spkmodem_recv/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/spkmodem_recv/Makefile b/util/spkmodem_recv/Makefile
index 92a3bfe9..c436b509 100644
--- a/util/spkmodem_recv/Makefile
+++ b/util/spkmodem_recv/Makefile
@@ -1,9 +1,10 @@
# SPDX-License-Identifier: GPL-2.0-or-later
PREFIX ?= /usr/local
INSTALL ?= install
+CFLAGS ?= -Os -Wall -Wextra -Werror -pedantic
spkmodem-recv:
- $(CC) -o $@ $@.c
+ $(CC) $(CFLAGS) -o $@ $@.c
install: spkmodem-recv
$(INSTALL) -d $(DESTDIR)$(PREFIX)/bin/
$(INSTALL) $< -t $(DESTDIR)$(PREFIX)/bin/