mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 23:18:42 +01:00
mbtools: fix compilation with newer glib
Remove Werror as glib throws deprecation warnings. Cleaned up Makefile for consistency between packages. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -21,7 +21,7 @@ AC_CHECK_HEADERS([stdio.h stdlib.h string.h unistd.h])
|
||||
|
||||
MBTOOLS_REQUIRES="glib-2.0 >= 2.10.0 libmodbus >= 3.1.0"
|
||||
PKG_CHECK_MODULES(MBTOOLS_DEPS, [$MBTOOLS_REQUIRES])
|
||||
-MBTOOLS_CFLAGS="-Wall -Werror $MBTOOLS_DEPS_CFLAGS"
|
||||
+MBTOOLS_CFLAGS="-Wall $MBTOOLS_DEPS_CFLAGS"
|
||||
MBTOOLS_LIBS="$MBTOOLS_DEPS_LIBS"
|
||||
AC_SUBST(MBTOOLS_CFLAGS)
|
||||
AC_SUBST(MBTOOLS_LIBS)
|
||||
Reference in New Issue
Block a user