Hugh McMaster <hugh.mcmas...@outlook.com> writes: > What about just calling clang like this? > clang -dumpmachine | sed 's/pc-//'
That might work, although it would need some verification that this produces the right result on all of Debian's architectures. (So do mine, for that matter, although the one based on libpath is pretty much guaranteed to work because otherwise the compiler wouldn't work properly.) > But how can we link this output to CC? That's a trickier question, since I'm not sure Autoconf or make alway exports the current compiler as the CC environment variable in all the ways krb5-config is called now. But at least we do have a fighting chance of picking up the correct compiler, and worst case we fall back to the default compiler. -- Russ Allbery (r...@debian.org) <http://www.eyrie.org/~eagle/>