[Buildroot] [PATCH] package/libglib2: disable compiler warnings
Jugurtha BELKALEM
jugurtha.belkalem at smile.fr
Tue Apr 23 13:01:05 UTC 2019
This flag is not set by default which yields in a
compilation error when host-qemu package is enabled.
The build fails at libglib2 package because -Werror
is activated which stops the compilation process.
Adding this flag corrects the issue.
Signed-off-by: Jugurtha BELKALEM <jugurtha.belkalem at smile.fr>
---
package/libglib2/libglib2.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/libglib2/libglib2.mk b/package/libglib2/libglib2.mk
index 63bfec3..5fd0544 100644
--- a/package/libglib2/libglib2.mk
+++ b/package/libglib2/libglib2.mk
@@ -91,6 +91,7 @@ LIBGLIB2_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -marm"
endif
HOST_LIBGLIB2_CONF_OPTS = \
+ --disable-compile-warnings \
--disable-coverage \
--disable-dtrace \
--disable-fam \
--
2.7.4
More information about the buildroot
mailing list