From 6aef15e8ac5a7be8ab6e927ed6783b19e0f6cf5b Mon Sep 17 00:00:00 2001 From: John van Groningen Date: Fri, 22 Sep 2017 12:41:06 +0000 Subject: [PATCH] pass options after the : after the filename of the linker in the environment to the linker --- Unix/PmCleanSystem.icl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Unix/PmCleanSystem.icl b/Unix/PmCleanSystem.icl index f05abcc..c866509 100644 --- a/Unix/PmCleanSystem.icl +++ b/Unix/PmCleanSystem.icl @@ -431,7 +431,7 @@ Link linker winfun path = (ps,link_ok) = (ps,link_ok) //Call gcc - # ld_args = ["-o",path,temp_file_name:StrictListToList (Append library_file_names "-lm")] + # ld_args = ["-o",path,temp_file_name:add_options_string_to_args 0 opts (StrictListToList (Append library_file_names "-lm"))] # ld = "/usr/bin/gcc" # (argv,args_memory) = make_argv [ld,"-s":ld_args] -- GitLab