From: Kurt D. Starsinic Date: Fri, 19 Feb 1999 15:47:59 +0000 (-0500) Subject: avoid literal 'undef' in $lddlflags under `Configure -Uoptimize` X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a07564da6e950450ea09426c273257a48fb8ba9a;p=p5sagit%2Fp5-mst-13.2.git 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 --- diff --git a/hints/dec_osf.sh b/hints/dec_osf.sh index 686ae2c..b511e31 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. ;;