{ "target_defaults": { "variables": { "warning-flags": [ "-Wno-missing-field-initializers", "-Wno-return-type", "-Wno-unused-result", "-Wno-deprecated-declarations" ] }, "cflags_cc!": [ # turn off default flags on older nodes on linux "-fno-exceptions", "-fno-rtti", "-std=gnu++0x", "-std=gnu++1y" # this is the default on Node.js 10, but we can't use the GNU dialect ], "cflags_cc": [ "-fexceptions", "-frtti", "-std=c++14", "<@(warning-flags)" ], "include_dirs": [ "