tbin/9c, bin/9l: Re-enable optimization on AIX. - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 6c4260fc670a71ae13587ff7da64518e5295777b
(DIR) parent 70cc6e5ba7798b315c3fb3aae19620a01604a459
(HTM) Author: Ben Huntsman <ben@huntsmans.net>
Date: Sun, 29 Aug 2021 13:36:30 -0700
bin/9c, bin/9l: Re-enable optimization on AIX.
Diffstat:
M bin/9c | 4 ++--
M bin/9l | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
(DIR) diff --git a/bin/9c b/bin/9c
t@@ -90,7 +90,7 @@ usexlc()
cc=${CC9:-xlc_r}
cflags=" \
-c \
- -O0 \
+ -O2 \
-qmaxmem=-1 \
-qsuppress=1506-236 \
-qsuppress=1506-358 \
t@@ -99,7 +99,7 @@ usexlc()
-qsuppress=1506-1300 \
-qsuppress=1506-342 \
"
- cflags="$cflags -g -qfullpath"
+ cflags="$cflags -g -qdbxextra -qfullpath"
cflags="$cflags $CC9FLAGS"
}
(DIR) diff --git a/bin/9l b/bin/9l
t@@ -58,7 +58,7 @@ case "$tag" in
esac
;;
*AIX*)
- ld="${CC9:-xlc_r} -g -O0 $CC9FLAGS"
+ ld="${CC9:-xlc_r} $CC9FLAGS"
nmflags="-A -B"
;;
*)