diff options
author | simonmar <unknown> | 2000-02-25 10:26:44 +0000 |
---|---|---|
committer | simonmar <unknown> | 2000-02-25 10:26:44 +0000 |
commit | fc43d8147f230c7ce130472fda45fcd56184ba0f (patch) | |
tree | e757ba6ac29a3232e0935517825e5311e6bdbed9 /ghc/driver/ghc.lprl | |
parent | e2aada531be3eeddbf33d75df92033a97e64216a (diff) | |
download | haskell-fc43d8147f230c7ce130472fda45fcd56184ba0f.tar.gz |
[project @ 2000-02-25 10:26:44 by simonmar]
silence linker warnings on HP/UX.
From: Eric Schweitz <schweitz@nortelnetworks.com>
Diffstat (limited to 'ghc/driver/ghc.lprl')
-rw-r--r-- | ghc/driver/ghc.lprl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ghc/driver/ghc.lprl b/ghc/driver/ghc.lprl index 0da8e02eff..7bff88a6d2 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 |