Merge pull request #161 from worktycho/master
Autodetect clang and disable tautological compare warning and inline assembly in cryptopp
This commit is contained in:
commit
3abfd46f55
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user