Turned on passing “-X” arguments to compiler

This commit is contained in:
Igor Chevdar
2017-12-11 17:00:02 +03:00
parent 91bc9fa587
commit 8f3aa9a07c
2 changed files with 0 additions and 8 deletions
-4
View File
@@ -38,10 +38,6 @@ while [ $# -gt 0 ]; do
java_args=("${java_args[@]}" "${1:2}")
shift
;;
-X*)
echo "TODO: need to pass arguments to all the tools somehow."
shift
;;
--time)
konan_args=("${konan_args[@]}" --time)
java_args=("${java_args[@]}" -agentlib:hprof=cpu=samples -Dkonan.profile=true)
-4
View File
@@ -38,10 +38,6 @@ if not "!ARG!" == "" (
set "JAVA_ARGS=%JAVA_ARGS% !ARG:~2!"
goto next
)
if "!ARG:~0,2!" == "-X" (
echo "TODO: need to pass arguments to all the tools somehow."
goto next
)
if "!ARG!" == "--time" (
set "KONAN_ARGS=%KONAN_ARGS% --time"
set "JAVA_ARGS=%JAVA_ARGS% -agentlib:hprof=cpu=samples -Dkonan.profile=true"