Merge pull request #1941 from realm/yg/no-gnu

Disable GNU dialect when building for Node 10 with GCC
This commit is contained in:
Kenneth Geisshirt 2018-08-14 14:07:51 +02:00 committed by GitHub
commit 81dd5931d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,8 @@
"cflags_cc!": [ # turn off default flags on older nodes on linux
"-fno-exceptions",
"-fno-rtti",
"-std=gnu++0x"
"-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",