Commit 91e9bd02 authored by Nikolay Igotti's avatar Nikolay Igotti

Statically link libgcc and libc++ on Linux.

parent 8c18d21d
...@@ -244,6 +244,8 @@ tasks.withType(CppCompile::class.java).configureEach { ...@@ -244,6 +244,8 @@ tasks.withType(CppCompile::class.java).configureEach {
listOf( listOf(
"-fvisibility=hidden", "-fvisibility=hidden",
"-fvisibility-inlines-hidden", "-fvisibility-inlines-hidden",
"-static-libstdc++",
"-static-libgcc",
"-I$jdkHome/include/linux", "-I$jdkHome/include/linux",
"-DSK_BUILD_FOR_LINUX", "-DSK_BUILD_FOR_LINUX",
"-DSK_R32_SHIFT=16", "-DSK_R32_SHIFT=16",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment