]> granicus.if.org Git - sudo/commitdiff
Disable PIE on Solaris where it is not really supported.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 10 Apr 2013 20:26:41 +0000 (16:26 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 10 Apr 2013 20:26:41 +0000 (16:26 -0400)
mkpkg

diff --git a/mkpkg b/mkpkg
index 7c47d249af13bfd8545ad4a8b557c24c15444ba2..0e0ae80c4db6eaf0d18ff3beba50765aeda1b3ba 100755 (executable)
--- a/mkpkg
+++ b/mkpkg
@@ -247,7 +247,7 @@ case "$osversion" in
        # For Solaris, add project support and use let configure choose zlib.
        # For all others, use the builtin zlib and disable NLS support.
        case "$osversion" in
-           sol*) configure_opts="${configure_opts}${configure_opts+$tab}--with-project";;
+           sol*) configure_opts="${configure_opts}${configure_opts+$tab}--with-project${tab}--disable-pie";;
            *) configure_opts="${configure_opts}${configure_opts+$tab}--enable-zlib=builtin${tab}--disable-nls";;
        esac
        if test "$flavor" = "ldap"; then