From: Todd C. Miller Date: Fri, 24 May 2019 22:02:58 +0000 (-0600) Subject: AIX packages were not being build with optimization enabled. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8c9b23b0cafca57501cbede4d186595d945c597d;p=sudo AIX packages were not being build with optimization enabled. --- diff --git a/mkpkg b/mkpkg index 44a6c6d4e..1b943227b 100755 --- a/mkpkg +++ b/mkpkg @@ -354,7 +354,7 @@ case "$osversion" in aix*) # Use -gxcoff with gcc instead of -g for dbx-style debugging symbols. if test -z "$CC" && gcc -v >/dev/null 2>&1; then - CFLAGS=-gxcoff; export CFLAGS + CFLAGS="-O2 -gxcoff"; export CFLAGS fi # Note, must indent with tabs, not spaces due to IFS trickery # Note: we include our own zlib instead of relying on the