Fix Linux 32-bit compilation after sysroot switch.

The roll in https://codereview.webrtc.org/1713493002/
made us start using the Chromium sysroot images for libraries instead
of system libraries. This caused Linux 32-bit builds to break with
an error like this:
../../webrtc/examples/peerconnection/client/linux/main_wnd.cc:82:46: error: missing sentinel in function call [-Werror,-Wsentinel]
      "List Items", renderer, "text", 0, NULL);
                                             ^
                                             , nullptr
/usr/include/gtk-2.0/gtk/gtktreeviewcolumn.h:128:25: note: function has been explicitly marked sentinel here
GtkTreeViewColumn      *gtk_tree_view_column_new_with_attributes (const gchar             *title,
                        ^
1 error generated.

This CL suppresses this warning to green up the bots.

TBR=niklase@webrtc.org

Review URL: https://codereview.webrtc.org/1710083003 .

Cr-Commit-Position: refs/heads/master@{#11674}
This commit is contained in:
Henrik Kjellander
2016-02-18 21:52:21 +01:00
parent 66a99283be
commit 235aaa7468

View File

@ -138,6 +138,11 @@
],
},
}], # OS=="linux"
['OS=="linux" and target_arch=="ia32"', {
'cflags': [
'-Wno-sentinel',
],
}], # OS=="linux" and target_arch=="ia32"
], # conditions
}, # target peerconnection_client
], # targets