]> granicus.if.org Git - sudo/commitdiff
AIX packages were not being build with optimization enabled.
authorTodd C. Miller <Todd.Miller@sudo.ws>
Fri, 24 May 2019 22:02:58 +0000 (16:02 -0600)
committerTodd C. Miller <Todd.Miller@sudo.ws>
Fri, 24 May 2019 22:02:58 +0000 (16:02 -0600)
mkpkg

diff --git a/mkpkg b/mkpkg
index 44a6c6d4e69edbf7f666fbde537877071019835a..1b943227b7f40fed413ad0f03515e77ffeb897b0 100755 (executable)
--- 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