dslm4515 / Musl-LFS

Linux From Scratch using Musl as Libc
GNU General Public License v3.0
170 stars 21 forks source link

080-Util-Linux: Why do we need ``ttydefaults.h``? #82

Open takusuman opened 1 year ago

takusuman commented 1 year ago

I'm building Util-Linux for a Musl-LFS fork, Copacabana --- I think I've cited it here before, in some commits and contributions that I brought from it to Musl-LFS --- and, looking between both the Musl-LFS instructions and other distributions' build scripts for base system Util-Linux, I found the same header being sourcered and used. The question is: why do we need ttydefaults.h? I've tried to build Util-Linux without regenerating them and it built fine.

takusuman commented 1 year ago

And, not related to this question, I've discovered that utmpx wouldn't work at configure if we have LDFLAGS set as '-static'.