fixed 64bit bugz
This commit is contained in:
parent
e546c69041
commit
2210c54d68
|
@ -10,7 +10,7 @@ OPT_FLAGS = -O3 -funroll-loops -s -pipe -fomit-frame-pointer
|
||||||
DEBUG_FLAGS = -g -ggdb3
|
DEBUG_FLAGS = -g -ggdb3
|
||||||
CPP = gcc
|
CPP = gcc
|
||||||
CC = cc
|
CC = cc
|
||||||
NAME = sqlite
|
NAME = sqlitex
|
||||||
SQL = sqlite-source
|
SQL = sqlite-source
|
||||||
|
|
||||||
BIN_SUFFIX_32 = amxx_i386.so
|
BIN_SUFFIX_32 = amxx_i386.so
|
||||||
|
@ -53,9 +53,11 @@ CFLAGS += -DNDEBUG -fPIC -DHAVE_STDINT_H -DSM_DEFAULT_THREADER -Dstricmp=strcase
|
||||||
ifeq "$(AMD64)" "true"
|
ifeq "$(AMD64)" "true"
|
||||||
BINARY = $(NAME)_$(BIN_SUFFIX_64)
|
BINARY = $(NAME)_$(BIN_SUFFIX_64)
|
||||||
CFLAGS += -DPAWN_CELL_SIZE=64 -DHAVE_I64 -m64
|
CFLAGS += -DPAWN_CELL_SIZE=64 -DHAVE_I64 -m64
|
||||||
|
CPPFLAGS += -DPAWN_CELL_SIZE=64 -DHAVE_I64 -m64
|
||||||
else
|
else
|
||||||
BINARY = $(NAME)_$(BIN_SUFFIX_32)
|
BINARY = $(NAME)_$(BIN_SUFFIX_32)
|
||||||
CFLAGS += -DPAWN_CELL_SIZE=32 -DJIT -DASM32
|
CFLAGS += -DPAWN_CELL_SIZE=32 -DJIT -DASM32
|
||||||
|
CPPFLAGS += -DPAWN_CELL_SIZE=64 -DHAVE_I64 -m64
|
||||||
OPT_FLAGS += -march=i586
|
OPT_FLAGS += -march=i586
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
@ -15,3 +15,4 @@ struct SqlFunctions
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif //_INCLUDE_SQLHEADERS_H
|
#endif //_INCLUDE_SQLHEADERS_H
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user