1
0

Fixed clang autodetection.

This commit is contained in:
Samuel Barney 2013-12-14 07:47:29 -07:00
parent 8a6c28b8f0
commit 8c695b45da

View File

@ -88,7 +88,7 @@ CXX_OPTIONS += -Wall
################################################### ###################################################
# Fix Crypto++ warnings in clang # Fix Crypto++ warnings in clang
ifeq ($(shell $(CXX) --version 2>&1 | grep -i -c "clang version"),1) ifeq ($(shell $(CXX) --version 2>&1 | grep -i -c "clang"),1)
CC_OPTIONS += -DCRYPTOPP_DISABLE_ASM CC_OPTIONS += -DCRYPTOPP_DISABLE_ASM
CXX_OPTIONS += -DCRYPTOPP_DISABLE_ASM CXX_OPTIONS += -DCRYPTOPP_DISABLE_ASM
endif endif