Skip to content

build: use C++11 ABI with libstdc++

This macro needs to match between Node.js and addons that use C++ standard library types whose ABI differs (e.g. std::string). Therefore, a value for this should be specified in common.gypi. (Currently, the 32-bit ARM builds use this ABI, and other platforms don’t. It might also be possible to set this value to 0 instead, it’s only important that a value is specified.)

Refs: https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html

@nodejs/build-files

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Merge request reports

Loading