summaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2009-03-04 09:27:52 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2009-03-04 09:27:52 +0000
commit15b0c807eb736f7f3800a514fc9a099466654ab9 (patch)
treedaab854b2a29bd8884224e9118cecebf04ca53c7 /GNUmakefile
parentd73287b2b051540d487b5ac6f8aea342aa5b9678 (diff)
downloadcryptopp-15b0c807eb736f7f3800a514fc9a099466654ab9.tar.gz
fix compile on ICC 11
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@438 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile
index d59c71c..8f07552 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -35,6 +35,12 @@ CXXFLAGS += -march=native -mtune=native
endif
endif
+ifneq ($(INTEL_COMPILER),0)
+# "internal error: backend signals" occurs on some x86 inline assembly with ICC 9 and some x64 inline assembly with ICC 11
+# if you want to use Crypto++'s assembly code with ICC, try enabling it on individual files
+CXXFLAGS += -DCRYPTOPP_DISABLE_ASM
+endif
+
ifeq ($(GAS210_OR_LATER),0) # .intel_syntax wasn't supported until GNU assembler 2.10
CXXFLAGS += -DCRYPTOPP_DISABLE_ASM
else