From 87d855edd22f465a86b3810dbef57d73f0ca8329 Mon Sep 17 00:00:00 2001 From: simonmar Date: Tue, 8 Jun 1999 09:06:26 +0000 Subject: [PATCH] [project @ 1999-06-08 09:06:26 by simonmar] Fix gratuitous duplication of libraries in the linker command line. --- ghc/driver/ghc.lprl | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/ghc/driver/ghc.lprl b/ghc/driver/ghc.lprl index 4cf4e8e..9503339 100644 --- a/ghc/driver/ghc.lprl +++ b/ghc/driver/ghc.lprl @@ -351,15 +351,6 @@ $BuildTag = ''; # default is sequential build w/ Appel-style GC '_mp', "-fstack-check -fparallel -D__PARALLEL_HASKELL__ -optc-DPAR", '_mg', "-fstack-check -fconcurrent -fgransim -D__GRANSIM__ -D__CONCURRENT_HASKELL__ -optc-DCONCURRENT -optc-DGRAN"); -\end{code} - -Import/include directories (\tr{-I} options) are sufficiently weird to -require special handling. - -\begin{code} -@Import_dir = ('.'); #-i things -@Include_dir = ('.'); #-I things; other default(s) stuck on AFTER option processing - # where to look for interface files (system hi's, i.e., prelude and syslibs) @SysImport_dir = ( $INSTALLING ) ? ( "$InstLibDirGhc/imports/std" ) @@ -380,8 +371,6 @@ $Haskell1Version = 5; # i.e., Haskell 1.4 , "-D__CONCURRENT_HASKELL__" ); -@UserLibrary_dir= (); #-L things;... -@UserLibrary = (); #-l things asked for by the user @SysLibrary_dir = ( ( $INSTALLING ) #-syslib things supplied by the system ? $InstLibDirGhc @@ -391,7 +380,6 @@ $Haskell1Version = 5; # i.e., Haskell 1.4 , "$TopPwd/$CURRENT_DIR/$GHC_LIB_DIR/std/cbits" ) ); -@SysLibrary = (); # will be built up as we go along $TopClosureFile # defaults to 1.2 one; will be mangled later = ''; @@ -438,7 +426,10 @@ $StgLint = ''; @Import_dir = ('.'); #-i things @Include_dir = ('.'); #-I things; other default(s) stuck on AFTER option processing +@UserLibrary_dir= (); #-L things;... +@UserLibrary = (); #-l things asked for by the user +@SysLibrary = (); # will be built up as we go along \end{code} We are given a list of files with various presumably-known suffixes -- 1.7.10.4