From 28f683bf0986bd1ed4ecc21416070b0093d4d6df Mon Sep 17 00:00:00 2001 From: Alexander Gorshenev Date: Tue, 6 Dec 2016 16:19:46 +0300 Subject: [PATCH] Minor changes after code review. --- build.gradle | 4 ++-- cmd/konanc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 98ae37c312d..6a6f9e2b7da 100644 --- a/build.gradle +++ b/build.gradle @@ -38,7 +38,7 @@ allprojects { ext.clangArgs << "-B$binDir" ext.clangPath << binDir - ext.jvmArgs=["-ea"] + ext.jvmArgs = ["-ea"] convention.plugins.execClang = new org.jetbrains.kotlin.ExecClang(project) @@ -113,7 +113,7 @@ task dist_compiler(type: Copy) { } from(file('cmd')) { - fileMode(0775) + fileMode(0755) include('konanc') include('kotlinc-native') diff --git a/cmd/konanc b/cmd/konanc index 553b28fde93..ab2aae4b308 100755 --- a/cmd/konanc +++ b/cmd/konanc @@ -134,7 +134,7 @@ CLANG="$CLANG_BIN_PATH/clang++" # [ -z $NOSTDLIB ] && clang_args=($STDLIB "${clang_args[@]}") clang_args=($STDLIB "${clang_args[@]}") clang_args=($LAUNCHER $START $RUNTIME "${clang_args[@]}") -clang_args=("${clang_args[@]}" "-xc $CLANG_PLATFORM_ARGS") +clang_args=("${clang_args[@]} -xc $CLANG_PLATFORM_ARGS") $CLANG $KTBC_NAME -o $OUTPUT_NAME ${clang_args[@]}