Skip to content

Commit

Permalink
Add -Wno-cast-function-type to suppress GCC8 warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
zbjornson committed Apr 27, 2020
1 parent 4c7f7ee commit 89f7607
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@
'<!@(pkg-config pangocairo --cflags-only-I | sed s/-I//g)',
'<!@(pkg-config freetype2 --cflags-only-I | sed s/-I//g)'
],
'cflags': ['-Wno-cast-function-type'],
'cflags!': ['-fno-exceptions'],
'cflags_cc!': ['-fno-exceptions']
}],
Expand Down

0 comments on commit 89f7607

Please sign in to comment.