fixed 64bit bugz

This commit is contained in:
David Anderson 2006-06-04 08:57:20 +00:00
parent e546c69041
commit 2210c54d68
2 changed files with 4 additions and 1 deletions

View File

@ -10,7 +10,7 @@ OPT_FLAGS = -O3 -funroll-loops -s -pipe -fomit-frame-pointer
DEBUG_FLAGS = -g -ggdb3
CPP = gcc
CC = cc
NAME = sqlite
NAME = sqlitex
SQL = sqlite-source
BIN_SUFFIX_32 = amxx_i386.so
@ -53,9 +53,11 @@ CFLAGS += -DNDEBUG -fPIC -DHAVE_STDINT_H -DSM_DEFAULT_THREADER -Dstricmp=strcase
ifeq "$(AMD64)" "true"
BINARY = $(NAME)_$(BIN_SUFFIX_64)
CFLAGS += -DPAWN_CELL_SIZE=64 -DHAVE_I64 -m64
CPPFLAGS += -DPAWN_CELL_SIZE=64 -DHAVE_I64 -m64
else
BINARY = $(NAME)_$(BIN_SUFFIX_32)
CFLAGS += -DPAWN_CELL_SIZE=32 -DJIT -DASM32
CPPFLAGS += -DPAWN_CELL_SIZE=64 -DHAVE_I64 -m64
OPT_FLAGS += -march=i586
endif

View File

@ -15,3 +15,4 @@ struct SqlFunctions
};
#endif //_INCLUDE_SQLHEADERS_H