summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorBen Huntsman <ben@huntsmans.net>2021-08-29 13:36:30 -0700
committerDan Cross <crossd@gmail.com>2021-08-30 19:40:49 -0400
commit6c4260fc670a71ae13587ff7da64518e5295777b (patch)
treef3e25757f546384b2009a88f568287fd59d3104c /bin
parent70cc6e5ba7798b315c3fb3aae19620a01604a459 (diff)
downloadplan9port-6c4260fc670a71ae13587ff7da64518e5295777b.tar.gz
plan9port-6c4260fc670a71ae13587ff7da64518e5295777b.zip
bin/9c, bin/9l: Re-enable optimization on AIX.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/9c4
-rwxr-xr-xbin/9l2
2 files changed, 3 insertions, 3 deletions
diff --git a/bin/9c b/bin/9c
index 63840b19..de8f81e9 100755
--- a/bin/9c
+++ b/bin/9c
@@ -90,7 +90,7 @@ usexlc()
cc=${CC9:-xlc_r}
cflags=" \
-c \
- -O0 \
+ -O2 \
-qmaxmem=-1 \
-qsuppress=1506-236 \
-qsuppress=1506-358 \
@@ -99,7 +99,7 @@ usexlc()
-qsuppress=1506-1300 \
-qsuppress=1506-342 \
"
- cflags="$cflags -g -qfullpath"
+ cflags="$cflags -g -qdbxextra -qfullpath"
cflags="$cflags $CC9FLAGS"
}
diff --git a/bin/9l b/bin/9l
index abca55fc..d7c9e2dd 100755
--- a/bin/9l
+++ b/bin/9l
@@ -58,7 +58,7 @@ case "$tag" in
esac
;;
*AIX*)
- ld="${CC9:-xlc_r} -g -O0 $CC9FLAGS"
+ ld="${CC9:-xlc_r} $CC9FLAGS"
nmflags="-A -B"
;;
*)