compiler flags leaking through krb5-config --libs
Bug #1970979 reported by
Andreas Hasenack
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
krb5 (Ubuntu) |
Triaged
|
Undecided
|
Unassigned |
Bug Description
krb5-config --libs is leaking some compiler specific flags that we define in Ubuntu:
$ krb5-config --libs
-L/usr/
That ones that concern me more specifically are:
- -Wl,-Bsymbolic-
- -lto related ones
I'm unsure if -Wl,-z,relro should be there either.
It looks like LDFLAGS got mixed with LIBS. pkg-config's output is different and only contains the libraries and library path:
$ pkg-config --libs krb5
-L/usr/
To post a comment you must log in.
Post in the upstream mailing list, let's see if this spawns a discussion:
https:/ /mailman. mit.edu/ pipermail/ krbdev/ 2022-April/ 013543. html