Red Hat Bugzilla – Bug 544391
krb5-config --libs output depends on $CFLAGS
Last modified: 2010-02-01 12:45:23 EST
Description of problem:
The output of "krb5-config --libs" contains the current value of the CFLAGS environment variable.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run CFLAGS=whatever krb5-config --libs
2. Observe output in terminal
[ejs@localhost ~]$ CFLAGS="-O0 -march=i386" krb5-config --libs
-O0 -march=i386 -lkrb5 -lk5crypto -lcom_err
[ejs@localhost ~]$ CFLAGS="-O2 -march=core2" krb5-config --libs
-O2 -march=core2 -lkrb5 -lk5crypto -lcom_err
"krb5-config --libs" output shouldn't depend on the current CFLAGS value and it probably shouldn't contain the CFLAGS set when it was built either.
Fedora 11 didn't have this problem. This appears to have caused a multilib conflict in cups (bug #540620) in Fedora 12.
krb5-1.7-15.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.