From 04be3f253a5c505cc46d7436569d7290bfeb1a59 Mon Sep 17 00:00:00 2001 From: DarthArgus Date: Sat, 17 Dec 2016 21:51:19 +0000 Subject: [PATCH] whole program vtables don't play nice with swggameserver --- game/server/application/SwgGameServer/src/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/game/server/application/SwgGameServer/src/CMakeLists.txt b/game/server/application/SwgGameServer/src/CMakeLists.txt index 6da4fb55..5406f019 100644 --- a/game/server/application/SwgGameServer/src/CMakeLists.txt +++ b/game/server/application/SwgGameServer/src/CMakeLists.txt @@ -1,6 +1,9 @@ add_compile_options(-fprofile-instr-use=${PROJECT_SOURCE_DIR}/src/linux/SwgGameServer.profdata) +# lto vtables break jni when we're cleaning up one of our vectors +add_compile_options(-fno-whole-program-vtables) + set(SHARED_SOURCES shared/combat/combat.def shared/combat/CombatEngine.cpp