diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2007-09-24 01:57:43 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2007-09-24 01:57:43 +0000 |
commit | ba34a9607981a05a88f962302682415d2422986e (patch) | |
tree | ebf748f5b99f7548e7315eeeeaa6333a9a6ea891 /GNUmakefile | |
parent | 5c787f6fd7e473410cec14ea1cec2280bc8744d7 (diff) | |
download | cryptopp-ba34a9607981a05a88f962302682415d2422986e.tar.gz |
remove -msse2 since we don't use SSE2 intrinsics anymore
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@401 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile index 23eb97c..26ed288 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -33,7 +33,8 @@ CXXFLAGS += -march=native -mtune=native else # -msse2 is in GCC 3.3, but it causes internal compiler error on salsa.cpp, # so don't use it unless we're at GCC 3.4 or later -CXXFLAGS += -msse2 +# actually, we're not using SSE2 intrinsics anymore, and -msse2 causes invalid instructions on non-SSE2 CPUs +# CXXFLAGS += -msse2 endif endif @@ -79,7 +80,7 @@ ifeq ($(CXX),CC) # override flags for CC (Solaris native C++ compiler) CXXFLAGS = -DNDEBUG -O -g -native LDFLAGS = ifeq ($(ISX86),1) -# SSE2 intrinsics should work in Sun Studio 12 +# SSE2 intrinsics should work in Sun Studio 12, but we're not using SSE2 intrinsics anymore # CXXFLAGS += -xarch=sse2 -D__SSE2__ endif endif |