Commit 2917a645 authored by sof's avatar sof
Browse files

[project @ 2001-06-25 01:35:07 by sof]

With -no-hs-main, don't force PrelMain.o to be linked (=> Main.o)
parent 9994d4b8
-----------------------------------------------------------------------------
-- $Id: DriverPipeline.hs,v 1.80 2001/06/15 15:15:33 simonmar Exp $
-- $Id: DriverPipeline.hs,v 1.81 2001/06/25 01:35:07 sof Exp $
--
-- GHC Driver
--
......@@ -799,7 +799,7 @@ doLink o_files = do
++ pkg_lib_opts
++ pkg_extra_ld_opts
++ extra_ld_opts
++ if static then
++ if static && not no_hs_main then
#ifdef LEADING_UNDERSCORE
[ "-u _PrelMain_mainIO_closure" ,
"-u ___init_PrelMain"]
......
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