diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-07-04 16:47:41 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-07-04 19:09:40 +0200 |
commit | f2800ac57cde2cd71df295d33441faae1b30dd3e (patch) | |
tree | b9c660d5d7e13efb4b1c9e2d79a16db5d4f4b0d1 /package/diffutils/diffutils.mk | |
parent | 6879dc239b1f9d7ac7e749010a0d5a079b8d2d62 (diff) | |
download | buildroot-f2800ac57cde2cd71df295d33441faae1b30dd3e.tar.gz buildroot-f2800ac57cde2cd71df295d33441faae1b30dd3e.zip |
libglib2: disable compiler warnings
By default, libglib enables some fairly aggressive warnings, treated
as errors. In particular, the -Wformat=2 warning triggers a warning
due to the return value of the ngettext() macro from uClibc libintl
stub not being understood as being potentially a format string.
So, before we enable the stub libintl in uClibc, we disable such
warnings. A bug will be reported to upstream uClibc to get the actual
bug fixed, but disabling compiler warnings treated as errors is anyway
a good thing in the context of Buildroot.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/diffutils/diffutils.mk')
0 files changed, 0 insertions, 0 deletions