bin/9c, bin/9l: Re-enable optimization on AIX.

This commit is contained in:
Ben Huntsman 2021-08-29 13:36:30 -07:00 committed by Dan Cross
parent 70cc6e5ba7
commit 6c4260fc67
2 changed files with 3 additions and 3 deletions

4
bin/9c
View file

@ -90,7 +90,7 @@ usexlc()
cc=${CC9:-xlc_r} cc=${CC9:-xlc_r}
cflags=" \ cflags=" \
-c \ -c \
-O0 \ -O2 \
-qmaxmem=-1 \ -qmaxmem=-1 \
-qsuppress=1506-236 \ -qsuppress=1506-236 \
-qsuppress=1506-358 \ -qsuppress=1506-358 \
@ -99,7 +99,7 @@ usexlc()
-qsuppress=1506-1300 \ -qsuppress=1506-1300 \
-qsuppress=1506-342 \ -qsuppress=1506-342 \
" "
cflags="$cflags -g -qfullpath" cflags="$cflags -g -qdbxextra -qfullpath"
cflags="$cflags $CC9FLAGS" cflags="$cflags $CC9FLAGS"
} }

2
bin/9l
View file

@ -58,7 +58,7 @@ case "$tag" in
esac esac
;; ;;
*AIX*) *AIX*)
ld="${CC9:-xlc_r} -g -O0 $CC9FLAGS" ld="${CC9:-xlc_r} $CC9FLAGS"
nmflags="-A -B" nmflags="-A -B"
;; ;;
*) *)