Use -isystem for include paths
This is necessary so Kerberos headers files are classified as "system headers"
by the compiler, and thus not subject to the same strict warnings as
other headers (which breaks compilation if -Werror is specified).
.
This fixes the build of folks using -Werror and including Kerberos headers
when the latter are installed in a non-standard location (e.g.
/usr/include/tuple/mit-krb5, as Debian is doing).
(cherry picked from commit d8520c1d1c218e3c766009abc728b207c0421232)
Author: Jelmer Vernooij <jelmer@debian.org>
Bug-Debian: http://bugs.debian.org/751760
Patch-Category: debian-local
Jelmer Vernooij authored 9 years ago
Benjamin Kaduk committed 7 years ago
6 | 6 |
Name: gssrpc
|
7 | 7 |
Description: GSSAPI RPC implementation
|
8 | 8 |
Version: @KRB5_VERSION@
|
9 | |
Cflags: -I${includedir}
|
|
9 |
Cflags: -isystem ${includedir}
|
10 | 10 |
Libs: -L${libdir} -lgssrpc
|
11 | 11 |
Requires.private: mit-krb5-gssapi
|
6 | 6 |
Description: Kerberos administration client library
|
7 | 7 |
Version: @KRB5_VERSION@
|
8 | 8 |
Requires.private: mit-krb5-gssapi gssrpc
|
9 | |
Cflags: -I${includedir}
|
|
9 |
Cflags: -isystem ${includedir}
|
10 | 10 |
Libs: -L${libdir} -lkadm5clnt_mit
|
6 | 6 |
Description: Kerberos administration server library
|
7 | 7 |
Version: @KRB5_VERSION@
|
8 | 8 |
Requires.private: kdb mit-krb5-gssapi
|
9 | |
Cflags: -I${includedir}
|
|
9 |
Cflags: -isystem ${includedir}
|
10 | 10 |
Libs: -L${libdir} -lkadm5srv_mit
|
8 | 8 |
Description: Kerberos database access libraries
|
9 | 9 |
Version: @KRB5_VERSION@
|
10 | 10 |
Requires.private: mit-krb5-gssapi mit-krb5 gssrpc
|
11 | |
Cflags: -I${includedir}
|
|
11 |
Cflags: -isystem ${includedir}
|
12 | 12 |
Libs: -L${libdir} -lkdb5
|
13 | 13 |
Libs.private: ${KDB5_DB_LIB}
|
6 | 6 |
Description: Kerberos implementation of the GSSAPI
|
7 | 7 |
Version: @KRB5_VERSION@
|
8 | 8 |
Requires.private: mit-krb5
|
9 | |
Cflags: -I${includedir}
|
|
9 |
Cflags: -isystem ${includedir}
|
10 | 10 |
Libs: -L${libdir} -lgssapi_krb5
|
9 | 9 |
Name: mit-krb5
|
10 | 10 |
Description: An implementation of Kerberos network authentication
|
11 | 11 |
Version: @KRB5_VERSION@
|
12 | |
Cflags: -I${includedir}
|
|
12 |
Cflags: -isystem ${includedir}
|
13 | 13 |
Libs: -L${libdir} -lkrb5 -lk5crypto -lcom_err
|
14 | 14 |
Libs.private: -lkrb5support
|