Skip to content
Snippets Groups Projects
Commit 7644077d authored by sof's avatar sof
Browse files

[project @ 1999-09-01 14:17:14 by sof]

If -noC is used, don't compile the foreign-export C stubs
parent 5f1979b7
No related merge requests found
...@@ -1471,8 +1471,10 @@ Now the Haskell compiler, C compiler, and assembler ...@@ -1471,8 +1471,10 @@ Now the Haskell compiler, C compiler, and assembler
local ($hsc_out_o_stub); local ($hsc_out_o_stub);
($ofile_s_stub_target = $ofile_c_stub_target) =~ s/\.(.*)$/\.s/; ($ofile_s_stub_target = $ofile_c_stub_target) =~ s/\.(.*)$/\.s/;
($ofile_o_stub_target = $ofile_c_stub_target) =~ s/\.(.*)$/\.o/; ($ofile_o_stub_target = $ofile_c_stub_target) =~ s/\.(.*)$/\.o/;
&runGcc (0, $ofile_c_stub_target, $ofile_s_stub_target); if ($do_cc) {
&runAs ($ofile_o_stub_target, $ofile_s_stub_target); &runGcc (0, $ofile_c_stub_target, $ofile_s_stub_target);
&runAs ($ofile_o_stub_target, $ofile_s_stub_target);
}
# #
# Bring the C stub protos into scope when compiling the .hc file. # Bring the C stub protos into scope when compiling the .hc file.
# #
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment