diff options
author | noloader <noloader@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2015-07-14 02:57:13 +0000 |
---|---|---|
committer | noloader <noloader@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2015-07-14 02:57:13 +0000 |
commit | 51dd45a78501d37d02fea9ffa504d2e609ad8672 (patch) | |
tree | 79997d63ec3bcfc521fbc6b058d6405c90884787 /GNUmakefile | |
parent | 47e5a4d4ea89c7f236bfc55df01c052efc3059e1 (diff) | |
download | cryptopp-51dd45a78501d37d02fea9ffa504d2e609ad8672.tar.gz |
Cleared crash with GCC 4.8 and above and -O3. In a nutshell, it was due to vectorization and alignment violations agains the vmovdqa instruction
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@583 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile index ca36725..30284ec 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1,6 +1,6 @@ CXXFLAGS ?= -DNDEBUG SYMBOLS ?= -g2 -OPTIMIZE ?= -O2 +OPTIMIZE ?= -O3 # -fPIC is supported, and enabled by default for x86_64. # the following options reduce code size, but breaks link or makes link very slow on some systems # CXXFLAGS += -ffunction-sections -fdata-sections @@ -64,7 +64,6 @@ endif # We can do integer math using the Posix shell in a GNUmakefile # Below, we are building a boolean circuit that says "Darwin && (GCC 4.2 || Clang)" MULTIARCH_SUPPORT = $(shell echo $$(($(IS_DARWIN) * ($(GCC42_OR_LATER) + $(CLANG_COMPILER))))) - ifneq ($(MULTIARCH_SUPPORT),0) CXXFLAGS += -arch x86_64 -arch i386 else |