summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/nvmutil/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/nvmutil/Makefile b/util/nvmutil/Makefile
index e58c654b..2046e9eb 100644
--- a/util/nvmutil/Makefile
+++ b/util/nvmutil/Makefile
@@ -4,7 +4,7 @@
CC?=cc
CSTD?=-std=c90
-WERROR?=-Werror
+WERROR?=
CWARN?=-Wall -Wextra -pedantic
COPT?=-Os
CFLAGS?=-I. $(COPT) $(CWARN) $(CSTD)
@@ -18,7 +18,7 @@ PROG=nvmutil
all: $(PROG)
$(PROG): nvmutil.c
- $(CC) $(CFLAGS) $(LDFLAGS) nvmutil.c -o $(PROG)
+ $(CC) $(CFLAGS) $(WERROR) $(LDFLAGS) nvmutil.c -o $(PROG)
install: $(PROG)
$(INSTALL) -d $(DESTDIR)$(PREFIX)/bin