diff options
author | Kurt D. Starsinic <kstar@wolfetech.com> | 1999-02-19 10:47:59 -0500 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-03-23 05:54:37 +0000 |
commit | a07564da6e950450ea09426c273257a48fb8ba9a (patch) | |
tree | dcafc72de994934385d022c46d4908914ace5f8e /hints | |
parent | 994914430a9d31e91f3ba7f46998670879b75792 (diff) | |
download | perl-a07564da6e950450ea09426c273257a48fb8ba9a.tar.gz |
avoid literal 'undef' in $lddlflags under `Configure -Uoptimize`
Message-ID: <19990219154759.A32350@O2.chapin.edu>
Subject: [PATCH] OSF/1 hints
p4raw-id: //depot/perl@3126
Diffstat (limited to 'hints')
-rw-r--r-- | hints/dec_osf.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/hints/dec_osf.sh b/hints/dec_osf.sh index 686ae2c089..b511e31bc8 100644 --- a/hints/dec_osf.sh +++ b/hints/dec_osf.sh @@ -146,7 +146,11 @@ case "`uname -r`" in *[123].*) # old loader lddlflags="$lddlflags -O3" ;; -*) lddlflags="$lddlflags $optimize -msym" +*) if $test "X$optimize" = "X$undef"; then + lddlflags="$lddlflags -msym" + else + lddlflags="$lddlflags $optimize -msym" + fi # -msym: If using a sufficiently recent /sbin/loader, # keep the module symbols with the modules. ;; |