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' }