mirror of
https://github.com/SWG-Source/src.git
synced 2026-07-31 00:15:55 -04:00
add mulodi function (using tor's example) as it is missing in llvm when using m32 on 64 hosts... also tweak a default config flag and enhance some of our ldflags and cflags - having mulodi allows us to finally use flto!
This commit is contained in:
@@ -78,3 +78,7 @@ target_link_libraries(LogServer
|
||||
unicodeArchive
|
||||
${CMAKE_DL_LIBS}
|
||||
)
|
||||
|
||||
if(${BUILD_MULODI_LIB})
|
||||
target_link_libraries(LogServer mulodi)
|
||||
endif()
|
||||
|
||||
@@ -778,9 +778,17 @@ add_library(serverGame STATIC
|
||||
${CMAKE_CURRENT_BINARY_DIR}/shared/generated/Packager.cpp
|
||||
)
|
||||
|
||||
if(NOT WIN32 AND CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||
target_link_libraries(mulodi)
|
||||
endif()
|
||||
|
||||
target_link_libraries(serverGame
|
||||
sharedCommandParser
|
||||
sharedPathfinding
|
||||
sharedSkillSystem
|
||||
sharedTerrain
|
||||
)
|
||||
|
||||
if(${BUILD_MULODI_LIB})
|
||||
target_link_libraries(serverGame mulodi)
|
||||
endif()
|
||||
|
||||
@@ -122,9 +122,9 @@ void ConfigServerGame::install(void)
|
||||
KEY_STRING (pvpUnattackableFactionsFilename, "datatables/pvp/faction_unattackable.iff");
|
||||
KEY_STRING (pvpBountyTargetFactionsFilename, "datatables/pvp/faction_bountytarget.iff");
|
||||
KEY_BOOL (createAppearances,true);
|
||||
KEY_STRING (adminAccountDataTable, "datatables/admin/us_admin.iff");
|
||||
KEY_STRING (adminAccountDataTable, "datatables/admin/stella_admin.iff");
|
||||
KEY_BOOL (adminGodToAll, false);
|
||||
KEY_INT (adminGodToAllGodLevel, 50);
|
||||
KEY_INT (adminGodToAllGodLevel, 0);
|
||||
KEY_BOOL (useSecureLoginForGodAccess, false);
|
||||
KEY_BOOL (useIPForGodAccess, false);
|
||||
KEY_BOOL (adminPersistAllCreates, false);
|
||||
|
||||
Reference in New Issue
Block a user