serpent-os / autocc

Provide the right system `cc`
4 stars 1 forks source link

Add management of `/lib/cpp` #1

Open ikeycode opened 2 months ago

ikeycode commented 2 months ago

As a (nasty) hack right now we force cpp to be the one coming from gcc.

However, we should actually provide /lib/cpp (at %(libdir)/cpp with usr-merge) to automatically switch betweenclang-cpp(LLVM) and cpp (GCC)

ikeycode commented 1 week ago

This has become more important so that we provide clang-cpp link when CPP isn't respected and /lib/cpp is blindly queried by old autotools cruft.