summaryrefslogtreecommitdiff
path: root/third_party/third_party.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/third_party.gyp')
-rw-r--r--third_party/third_party.gyp9
1 files changed, 8 insertions, 1 deletions
diff --git a/third_party/third_party.gyp b/third_party/third_party.gyp
index 2e03b59656..41db3b28db 100644
--- a/third_party/third_party.gyp
+++ b/third_party/third_party.gyp
@@ -85,6 +85,13 @@
'freetype/src/base/fttype1.c',
],
}],
+ ['os_posix==1 and clang==0', {
+ 'cflags': [
+ # open_face_PS_from_sfnt_stream() and open_face_from_buffer() in
+ # ftbase.h are unused. GCC needs this flag too.
+ '-Wno-unused-function',
+ ],
+ }],
],
'variables': {
'clang_warning_flags': [
@@ -122,7 +129,7 @@
'conditions': [
['os_posix==1', {
# library contains several enum vs non-enum conditionals.
- 'cflags': [ '-Wno-extra', ],
+ 'cflags': [ '-Wno-extra' ],
}],
],
'variables': {