From: Brian May <bam@debian.org>
Date: Wed, 26 Apr 2017 06:29:24 +1000
Subject: Canonical host

Disable use of @CANONICAL_HOST@, which is not reproducible.

https://github.com/heimdal/heimdal/issues/237
---
 tools/krb5-config.in | 17 +----------------
 1 file changed, 1 insertion(+), 16 deletions(-)

diff --git a/tools/krb5-config.in b/tools/krb5-config.in
index 743c9eb..d32c864 100644
--- a/tools/krb5-config.in
+++ b/tools/krb5-config.in
@@ -186,22 +186,7 @@ fi
 # Compatibility with MIT is the winning consideration for now.
 EOM
 
-case "@CANONICAL_HOST@" in
-alpha*-dec-osf*)
-  rpath_flag='-Wl,-rpath -Wl,';;
-*-*-hpux*)
-  rpath_flag='-Wl,+b,';;
-*-*-irix* | mips-*-netbsd*)
-  rpath_flag='-Wl,-rpath -Wl,';;
-*-*-netbsd* | *-*-openbsd* | *-*-solaris*)
-  rpath_flag='-R';;
-*-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-freebsd*)
-  rpath_flag='-Wl,--enable-new-dtags -Wl,-rpath -Wl,';;
-*-*-aix*)
-  rpath_flag='-Wl,-blibpath:';;
-*)
-rpath_flag=;;
-esac
+rpath_flag='-Wl,--enable-new-dtags -Wl,-rpath -Wl,'
 
 echo "rpath_flag='$rpath_flag'"
 
