summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cryptlib/Makefile3
-rw-r--r--Cryptlib/OpenSSL/Makefile3
2 files changed, 6 insertions, 0 deletions
diff --git a/Cryptlib/Makefile b/Cryptlib/Makefile
index 626788c9..51f4ca1d 100644
--- a/Cryptlib/Makefile
+++ b/Cryptlib/Makefile
@@ -14,6 +14,9 @@ INCLUDES = -I$(CRYPTDIR) -I$(CRYPTDIR)/Include \
WARNFLAGS += -Wno-unused-parameter \
-Wno-unused-but-set-variable
+WERRFLAGS += -Wno-error=unused-but-set-variable \
+ -Wno-error=unused-parameter
+
CFLAGS = $(FEATUREFLAGS) \
$(OPTIMIZATIONS) \
$(WARNFLAGS) \
diff --git a/Cryptlib/OpenSSL/Makefile b/Cryptlib/OpenSSL/Makefile
index d59c5d7a..e517bcfd 100644
--- a/Cryptlib/OpenSSL/Makefile
+++ b/Cryptlib/OpenSSL/Makefile
@@ -26,6 +26,9 @@ WARNFLAGS += -Wno-empty-body \
-Wno-unused-but-set-variable \
-Wno-unused-parameter
+WERRFLAGS += -Wno-error=unused-but-set-variable \
+ -Wno-error=unused-parameter
+
CFLAGS = $(FEATUREFLAGS) \
$(OPTIMIZATIONS) \
$(WARNFLAGS) \