use -msse2 on x86_64

pull/2/head
weidai 2003-08-04 18:56:15 +00:00
parent 2d11a04dc7
commit 5c3dbb91a2
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ CXXFLAGS = -g
ARFLAGS = -cr # ar needs the dash on OpenBSD ARFLAGS = -cr # ar needs the dash on OpenBSD
RANLIB = ranlib RANLIB = ranlib
UNAME = $(shell uname) UNAME = $(shell uname)
ISX86 = $(shell uname -m | grep -c "i.86") ISX86 = $(shell uname -m | grep -c "i.86\|x86_64")
GCC33ORLATER = $(shell gcc -v 2>&1 | grep -c "gcc version \(3.[3-9]\|[4-9]\)") GCC33ORLATER = $(shell gcc -v 2>&1 | grep -c "gcc version \(3.[3-9]\|[4-9]\)")
ifeq ($(ISX86) $(GCC33ORLATER),1 1) ifeq ($(ISX86) $(GCC33ORLATER),1 1)