]> granicus.if.org Git - sudo/commitdiff
Disable PIE on FreeBSD/ia64, otherwise sudo will segfault.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 27 Dec 2012 21:25:51 +0000 (16:25 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 27 Dec 2012 21:25:51 +0000 (16:25 -0500)
configure
configure.in

index 60eabc302d22bf289ffdc3306e5d5357eb35f737..f37da7c361dc7deee33972ae6ad4a7595dc538f5 100755 (executable)
--- a/configure
+++ b/configure
@@ -14468,6 +14468,11 @@ done
                CHECKSHADOW="false"
                test -z "$with_pam" && AUTH_EXCL_DEF="PAM"
                : ${with_logincap='maybe'}
+               # PIE is broken on FreeBSD/ia64
+               case "$host_cpu" in
+               ia64*)
+                       enable_pie=no;;
+               esac
                ;;
     *-*-*openbsd*)
                # OpenBSD-specific initialization
index d98634ece8fe9040948db180e1ad4a77b35e6521..9cf31ef6a1d57a42e0ee8e48aa87eac828d628ab 100644 (file)
@@ -1906,6 +1906,11 @@ case "$host" in
                CHECKSHADOW="false"
                test -z "$with_pam" && AUTH_EXCL_DEF="PAM"
                : ${with_logincap='maybe'}
+               # PIE is broken on FreeBSD/ia64
+               case "$host_cpu" in
+               ia64*)
+                       enable_pie=no;;
+               esac
                ;;
     *-*-*openbsd*)
                # OpenBSD-specific initialization