Added Krade's makefile fix for 64bit compilers
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9910 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
8723e53a06
commit
628e944513
@ -4,6 +4,8 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
|
|||||||
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
|
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
|
||||||
|
|
||||||
2007/02/25
|
2007/02/25
|
||||||
|
* Added Krade's makefile fix for 64bit compilers [ultramage]
|
||||||
|
- ref: http://www.eathena.ws/board/index.php?showtopic=136622
|
||||||
* Minor cleanup/documentation on the script engine. [FlavioJS]
|
* Minor cleanup/documentation on the script engine. [FlavioJS]
|
||||||
2007/02/24
|
2007/02/24
|
||||||
* Fixed the mob_override_name setting not working on summoned mobs.
|
* Fixed the mob_override_name setting not working on summoned mobs.
|
||||||
|
5
Makefile
5
Makefile
@ -42,6 +42,7 @@ OPT += -Wall -Wno-sign-compare
|
|||||||
# LIBS += -L/usr/local/lib -lpcre
|
# LIBS += -L/usr/local/lib -lpcre
|
||||||
|
|
||||||
PLATFORM = $(shell uname)
|
PLATFORM = $(shell uname)
|
||||||
|
ARCH = $(shell uname -m)
|
||||||
|
|
||||||
ifeq ($(findstring Linux,$(PLATFORM)), Linux)
|
ifeq ($(findstring Linux,$(PLATFORM)), Linux)
|
||||||
LIBS += -ldl
|
LIBS += -ldl
|
||||||
@ -73,6 +74,10 @@ ifeq ($(findstring CYGWIN,$(PLATFORM)), CYGWIN)
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(findstring x86_64,$(ARCH)), x86_64)
|
||||||
|
OPT += -m32
|
||||||
|
endif
|
||||||
|
|
||||||
CFLAGS = $(OPT) -I../common $(OS_TYPE)
|
CFLAGS = $(OPT) -I../common $(OS_TYPE)
|
||||||
|
|
||||||
ifdef SQLFLAG
|
ifdef SQLFLAG
|
||||||
|
Loading…
x
Reference in New Issue
Block a user