Closed m-gupta closed 4 years ago
It is an interesting observation that this is not working on some platforms, in fact this is how it looked a long time ago. For some reason, that I cannot recall right now, it was changed. Agree it is not something to recommend. Now it seems to work fine so please address my comment and we can merge this.
Updated, ptal.
Thanks for the contribution. Merged.
Do not hardcode stdc++ when linking. Rather, use C++ compiler as the linker driver which will choose correct C++ library for linking.
Chrome OS bug: https://bugs.chromium.org/p/chromium/issues/detail?id=1026266