A little more konanc.
This commit is contained in:
committed by
alexander-gorshenev
parent
093409a1af
commit
6a6424f462
+3
-3
@@ -55,9 +55,6 @@ while [ $# -gt 0 ]; do
|
||||
esac
|
||||
done
|
||||
|
||||
# TODO: support -opt on Linux hosts as well.
|
||||
clang_opt_args=("-O3" "-flto" "-Wl,-dead_strip")
|
||||
|
||||
[ -n "$KONAN_COMPILER" ] || KONAN_COMPILER=org.jetbrains.kotlin.cli.bc.K2NativeKt
|
||||
[ -n "$JAVACMD" ] || JAVACMD=java
|
||||
[ -n "$JAVA_OPTS" ] || JAVA_OPTS="-Xmx256M -Xms32M"
|
||||
@@ -132,8 +129,11 @@ START="${KONAN_HOME}/lib/start.kt.bc"
|
||||
# We filter this script during installation
|
||||
# substituting the proper platform dependent arguments here.
|
||||
CLANG_PLATFORM_ARGS="FILTER_CLANG_PLATFORM_ARGS"
|
||||
CLANG_PLATFORM_OPT="FILTER_CLANG_PLATFORM_OPT"
|
||||
CLANG_BIN_PATH="FILTER_CLANG_BIN_PATH"
|
||||
|
||||
clang_opt_args=("$CLANG_PLATFORM_OPT")
|
||||
|
||||
CLANG="$CLANG_BIN_PATH/clang"
|
||||
|
||||
# TODO: Compilation without stdlib.kt.bc doesn't work because 'start' requires stdlib, for example.
|
||||
|
||||
Reference in New Issue
Block a user