From 3283cc01ba18946b26344218d72595719fe8cadc Mon Sep 17 00:00:00 2001 From: s1lentq Date: Mon, 7 Dec 2015 01:02:16 +0600 Subject: [PATCH] added for linker flag -no-opt-class-analysis --- regamedll/build.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/regamedll/build.gradle b/regamedll/build.gradle index 258f768c..84407948 100644 --- a/regamedll/build.gradle +++ b/regamedll/build.gradle @@ -172,7 +172,8 @@ void setupToolchain(NativeBinarySpec b) '_close' : 'close', ]) - cfg.compilerOptions.args '-Qoption,cpp,--treat_func_as_string_literal_cpp', '-g', '-no-opt-class-analysis' + cfg.linkerOptions.args '-no-opt-class-analysis' + cfg.compilerOptions.args '-Qoption,cpp,--treat_func_as_string_literal_cpp', '-g' cfg.projectLibpath(project, '/lib/linux32') cfg.extraLibs 'dl', 'm', 'stdc++', 'steam_api' }