mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-01-28 22:48:02 +03:00
build.gradle: remove extralib stdc++
This commit is contained in:
parent
3aa987212e
commit
8591bbd13d
@ -165,9 +165,13 @@ void setupToolchain(NativeBinarySpec b)
|
|||||||
cfg.linkerOptions.args '-qno-opt-class-analysis'
|
cfg.linkerOptions.args '-qno-opt-class-analysis'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (cfg.linkerOptions.staticLibStdCpp) {
|
||||||
|
cfg.singleDefines 'BUILD_STATIC_LIBSTDC'
|
||||||
|
}
|
||||||
|
|
||||||
cfg.compilerOptions.args '-g0', '-fno-rtti', '-fno-exceptions'
|
cfg.compilerOptions.args '-g0', '-fno-rtti', '-fno-exceptions'
|
||||||
cfg.projectLibpath(project, '/lib/linux32')
|
cfg.projectLibpath(project, '/lib/linux32')
|
||||||
cfg.extraLibs 'dl', 'm', 'stdc++', 'aelf32'
|
cfg.extraLibs 'dl', 'm', 'aelf32'
|
||||||
}
|
}
|
||||||
|
|
||||||
if (GradleCppUtils.windows && !unitTestExecutable) {
|
if (GradleCppUtils.windows && !unitTestExecutable) {
|
||||||
|
@ -28,4 +28,6 @@
|
|||||||
|
|
||||||
#include "precompiled.h"
|
#include "precompiled.h"
|
||||||
|
|
||||||
|
#ifndef BUILD_STATIC_LIBSTDC // don't include to build if build with static libstdc++
|
||||||
#include "stdc++compat.cpp"
|
#include "stdc++compat.cpp"
|
||||||
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user