summaryrefslogtreecommitdiffstats
path: root/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--GNUmakefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 845aca3d9..00778a8f5 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -85,6 +85,15 @@ endif
endif
+###################################################
+# Fix Crypto++ warnings in clang
+
+ifeq ($(shell $(CXX) --version 2>&1 | grep -i -c "clang version"),0)
+CC_OPTIONS += -Wno-tautological-compare
+CXX_OPTIONS += -Wno-tautological-compare
+disableasm = 1
+endif
+
###################################################
# Set the link libraries based on the OS