1
0

Merge pull request #161 from worktycho/master

Autodetect clang and disable tautological compare warning and inline assembly in cryptopp
This commit is contained in:
Alexander Harkness 2013-09-11 10:55:06 -07:00
commit 3abfd46f55

View File

@ -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