Skip to content

Commit 77504bc

Browse files
author
3np
committed
Change from c++14 to gnu++14 to fix build errors [publish binary]
1 parent ccc4441 commit 77504bc

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

common.gypi

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
'target_defaults': {
33
'default_configuration': 'Release',
44
'cflags_cc' : [
5-
'-std=c++14',
6-
'-fext-numeric-literals',
5+
'-std=gnu++14',
76
'-Wno-error=effc++',
87
# The assumption is that projects based on node-cpp-skel will also
98
# depend on mason packages. Currently (this will change in future mason versions)
@@ -14,7 +13,11 @@
1413
# More details at https://github.com/mapbox/mason/issues/319
1514
'-D_GLIBCXX_USE_CXX11_ABI=0'
1615
],
17-
'cflags_cc!': ['-std=gnu++0x','-fno-rtti', '-fno-exceptions'],
16+
'cflags_cc!': [
17+
'-std=gnu++0x',
18+
'-fno-rtti',
19+
'-fno-exceptions'
20+
],
1821
'configurations': {
1922
'Debug': {
2023
'defines!': [

scripts/publish.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,4 @@ case $i in
7575
esac
7676
done
7777

78-
publish $@
78+
publish $@

0 commit comments

Comments
 (0)