diff options
Diffstat (limited to 'hints/dec_osf.sh')
-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. ;; |