Browse Source

Added -funroll-loops argument to makefile to further increase performance

git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@205 54d463be-8e91-2dee-dedb-b68131a5f0ec
Shinigami 20 years ago
parent
commit
786f145f54
2 changed files with 2 additions and 1 deletions
  1. 1 0
      Changelog.txt
  2. 1 1
      Makefile

+ 1 - 0
Changelog.txt

@@ -1,5 +1,6 @@
 Date	Added
 Date	Added
 11/16
 11/16
+	* Added -funroll-loops argument to makefile to further increase performance [Shinigami]
 	* Fixed 2 bugs in DELITEM script command. [Lupus]
 	* Fixed 2 bugs in DELITEM script command. [Lupus]
 	  - added deleting priority: If you have some items with the same ID and want to delete some of them, then
 	  - added deleting priority: If you have some items with the same ID and want to delete some of them, then
 	    at first it'll delete common items then, if necessary, delete the rest items but upgraded/named/with cards. [Lupus]
 	    at first it'll delete common items then, if necessary, delete the rest items but upgraded/named/with cards. [Lupus]

+ 1 - 1
Makefile

@@ -16,7 +16,7 @@ else
 MAKE = make
 MAKE = make
 endif
 endif
 
 
-OPT = -g -O2 -ffast-math
+OPT = -g -O2 -ffast-math -funroll-loops
 
 
 ifeq ($(findstring CYGWIN,$(PLATFORM)), CYGWIN)
 ifeq ($(findstring CYGWIN,$(PLATFORM)), CYGWIN)
 OS_TYPE = -DCYGWIN
 OS_TYPE = -DCYGWIN