summaryrefslogtreecommitdiff
path: root/debian/patches/canonical_host
blob: 000be6b8a6b53d8e526aee5bddacac581a5b5129 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Description: Disable use of @CANONICAL_HOST@, which is not reproducible.
Status: not forwarded upstream (not applicable)
Bug: https://github.com/heimdal/heimdal/issues/237

diff --git a/tools/krb5-config.in b/tools/krb5-config.in
index 53b4387a6..5288f84ae 100644
--- a/tools/krb5-config.in
+++ b/tools/krb5-config.in
@@ -181,22 +181,7 @@ fi
 # option...  And MIT's krb5-config does include rpath flags.
 #
 # Compatibility with MIT is the winning consideration for now.
-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,';;
 
 if test "$do_libs" = "yes"; then
     deplibs=""