From: simonmar Date: Fri, 25 Feb 2000 10:26:44 +0000 (+0000) Subject: [project @ 2000-02-25 10:26:44 by simonmar] X-Git-Tag: Approximately_9120_patches~5102 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=fc43d8147f230c7ce130472fda45fcd56184ba0f;p=ghc-hetmet.git [project @ 2000-02-25 10:26:44 by simonmar] silence linker warnings on HP/UX. From: Eric Schweitz --- diff --git a/ghc/driver/ghc.lprl b/ghc/driver/ghc.lprl index 0da8e02..7bff88a 100644 --- a/ghc/driver/ghc.lprl +++ b/ghc/driver/ghc.lprl @@ -1110,7 +1110,9 @@ sub setupLinkOpts { # unshift(@Ld_flags, ('-Xlinker -bbigtoc -Xlinker -bnoquiet')); unshift(@Ld_flags, ('-Xlinker -bbigtoc')); } - + if ($TargetPlatform =~ /^hppa/) { + unshift(@Ld_flags, ('-Xlinker +vnocompatwarnings')); + } } # end of setupLinkOpts @@ -2603,7 +2605,7 @@ sub add_syslib { [ # where to slurp interface files from ( $INSTALLING ? "$InstLibDirGhc/imports/text" - : "$TopPwd/hslibs/text:$TopPwd/hslibs/text/html" + : "$TopPwd/hslibs/text:$TopPwd/hslibs/text/html:$TopPwd/hslibs/text/haxml" ) , # where to find the archive to use when linking ( $INSTALLING