aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/llvm/hipe_llvm_main.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2017-06-28 15:40:42 +0200
committerSiri Hansen <[email protected]>2017-07-06 17:53:23 +0200
commite2f42f4ce7d2cb2a9eaa1cfeb1b6b69b061704f7 (patch)
treec2472cf3471fc85a22120be366fd68315569d927 /lib/hipe/llvm/hipe_llvm_main.erl
parent6e770e804b294217181550f0caa1a2ebcbd08e32 (diff)
downloadotp-e2f42f4ce7d2cb2a9eaa1cfeb1b6b69b061704f7.tar.gz
otp-e2f42f4ce7d2cb2a9eaa1cfeb1b6b69b061704f7.tar.bz2
otp-e2f42f4ce7d2cb2a9eaa1cfeb1b6b69b061704f7.zip
hipe: Do not use deprecated functions in string(3)
Should probably be left for the HiPE team to fix
Diffstat (limited to 'lib/hipe/llvm/hipe_llvm_main.erl')
-rw-r--r--lib/hipe/llvm/hipe_llvm_main.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hipe/llvm/hipe_llvm_main.erl b/lib/hipe/llvm/hipe_llvm_main.erl
index 4eec0c752b..54c435c127 100644
--- a/lib/hipe/llvm/hipe_llvm_main.erl
+++ b/lib/hipe/llvm/hipe_llvm_main.erl
@@ -154,7 +154,7 @@ compiler_target_opt() ->
%% @doc Join options.
fix_opts(Opts) ->
- string:join(Opts, " ").
+ lists:flatten(lists:join(" ", Opts)).
%% @doc Translate optimization-level flag (default is "O2").
trans_optlev_flag(Tool, Options) ->