From ba34a9607981a05a88f962302682415d2422986e Mon Sep 17 00:00:00 2001 From: weidai Date: Mon, 24 Sep 2007 01:57:43 +0000 Subject: 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 --- GNUmakefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'GNUmakefile') 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 -- cgit v1.2.1