You receive this bug because this package does not respect my system's CXX (x86_64-pc-linux-gnu-g++) and calls directly /usr/bin/g++(or similar) The possible solutions to fix this issue are: 1)Fix the buildsystem, if you can; 2)inherit toolchain-funcs and use tc-export CXX 3)inherit toolchain-funcs and use emake CXX="$(tc-getCXX)" From the build log: g++ -c -march=native -O2 -pipe -o src/logger.o src/logger.cc g++ -c -march=native -O2 -pipe -o src/ndppd.o src/ndppd.cc g++ -c -march=native -O2 -pipe -o src/iface.o src/iface.cc g++ -c -march=native -O2 -pipe -o src/proxy.o src/proxy.cc g++ -c -march=native -O2 -pipe -o src/address.o src/address.cc g++ -c -march=native -O2 -pipe -o src/rule.o src/rule.cc g++ -c -march=native -O2 -pipe -o src/session.o src/session.cc g++ -c -march=native -O2 -pipe -o src/conf.o src/conf.cc g++ -c -march=native -O2 -pipe -o src/route.o src/route.cc g++ -o ndppd -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu src/logger.o src/ndppd.o src/iface.o src/proxy.o src/address.o src/rule.o src/session.o src/conf.o src/route.o
Created attachment 348780 [details, diff] patch against latest ebuild updated the ebuild and added CXX="$(tc-getCXX)" accordingly. Please review.