@civodul pass it to configure via CFLAGS or CXXFLAGS if you were doing it by hand.
Top-level
4 comments
@gugurumbe @civodul I guess in this scenario you have a GCC 5.x release archive uncompressed and you're just trying to build it with new GCC, the release archive is already bootstrapped with autoconf so you're not regenerating the build infra needing libtool to be re-run? @sevan I don’t know if GCC 5.x uses libtool, but if it does, then it’s a compile-time, not bootstrap, thing. |
@sevan @civodul If you are using #libtool, you should use CXX='g++ -std=c++11' because if it’s a CXXFLAG, libtool will remove it.
https://www.gnu.org/software/libtool/manual/libtool.html#Stripped-link-flags