Closed springmeyer closed 6 years ago
Node v10 starts adding -std=gnu++1y to the inherited flags from node.js https://github.com/nodejs/node/blob/7bdc69426772a2915bc348f491aa7eaa44d422df/common.gypi#L348. This is problematic if we actually want to support c++14 for the compile of the addon, which we do. So, this fix will remove the node.js flag to avoid sending both flags to the compiler - refs https://github.com/mapbox/vtquery/issues/100
-std=gnu++1y
c++14
Node v10 starts adding
-std=gnu++1y
to the inherited flags from node.js https://github.com/nodejs/node/blob/7bdc69426772a2915bc348f491aa7eaa44d422df/common.gypi#L348. This is problematic if we actually want to supportc++14
for the compile of the addon, which we do. So, this fix will remove the node.js flag to avoid sending both flags to the compiler - refs https://github.com/mapbox/vtquery/issues/100