For my C++ library, I use libc++ and have all the USE flags to avoid depending on libstdc++ such as libcxxabi libcxx default-libcxx I only use GCC for compiling glibc (which is a C library, not a C++ library, no need for libstdc++) but g++ and libstdc++ are still built even though I have purged the USE="cxx" option from gcc by creating a file in `/etc/portage/profile/package.use.mask` with the following: sys-devel/gcc cxx GCC was definitely built with the cxx USE flag disabled, but it seems to have done nothing. Reproducible: Always Steps to Reproduce: 1. Force GCC to build without c++ support Actual Results: g++ and libstdc++ are still installed Expected Results: Building gcc without the cxx USE flag should actually prevent building a c++ compiler (g++) and libstdc++ (i.e. g++ should return: command not found) cxx USE flag is noop.
I suppose a duplicate of 692126 but I'll leave to toolchain@
*** This bug has been marked as a duplicate of bug 692126 ***
It's forced on. Have you verified the build.log / emerge actually says -cxx?
Created attachment 758733 [details] build.log (XZ)