Commit 0bac683c authored by Mart Lubbers's avatar Mart Lubbers

unix pmcleansystem reinstate missing unlink

parent 84631e02
Pipeline #17698 passed with stage
in 51 seconds
......@@ -434,12 +434,15 @@ where
= (ps,link_ok)
= (ps,link_ok)
//Call gcc
= linkGCC [temp_file_name] options2 ps
#! (ps, link_ok) = linkGCC [temp_file_name] options2 ps
| unlink (temp_file_name+++"\0")<>0
= (ps,link_ok)
= (ps,link_ok)
//Just link with gcc
linkGCC object_paths gccOptions ps
# gcc_options = add_options_string_to_args 0 gccOptions (StrictListToList (Append library_file_names "-lm"))
# ld_args = ["-o", path : object_paths ] ++ gcc_options
# ld_args = add_options_string_to_args 0 gccOptions (StrictListToList (Append library_file_names "-lm"))
# ld_args = ["-o", path : object_paths ] ++ ld_args
ld_args = IF_MACOSX ld_args (IF_INT_64_OR_32 ["-no-pie":ld_args] ld_args)
ld_args = if gen_symbol_table ld_args ["-s":ld_args]
# ld = "/usr/bin/gcc"
......
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