package/liboping: remove -Werror build flag
PATCH 1/2 package/liboping: remove -Werror build flag
Same as https://bugs.gentoo.org/675344 - when building, GCC will fail the build due to a truncation warning.
Remove -Wall and -Werror from Makefile.am and run automake to apply the change
Signed-off-by Nathaniel Roach <[email protected]>
--- package/liboping/0002-no-werror.patch | 14 ++++++++++++++ package/liboping/liboping.mk | 1 + 2 files changed, 15 insertions(+) create mode 100644 package/liboping/0002-no-werror.patch
package/liboping/0002-no-werror.patch new file +14 -0
@@ -0,0 +1,14 @@ +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -2,10 +2,6 @@ AUTOMAKE_OPTIONS = foreign no-dependencies + + SUBDIRS = mans + +-if COMPILER_IS_GCC +-AM_CFLAGS = -Wall -Werror +-endif +- + include_HEADERS = oping.h + lib_LTLIBRARIES = liboping.la + +
package/liboping/liboping.mk +1 -0
@@ -11,6 +11,7 @@ LIBOPING_INSTALL_STAGING = YES LIBOPING_CONF_OPTS = --without-perl-bindings LIBOPING_LICENSE = LGPL-2.1+, GPL-2.0 LIBOPING_LICENSE_FILES = COPYING +LIBOPING_AUTORECONF = YES ifeq ($(BR2_PACKAGE_NCURSES),y) LIBOPING_DEPENDENCIES += ncurses
Signature · 1 line
2.20.1
PATCH 1/2 package/liboping: remove -Werror build flag
Patch is standalone, title can be amended if no other changes are needed
Quoted 45 lines · Nathaniel Roach
Same as https://bugs.gentoo.org/675344 - when building, GCC will fail the build due to a truncation warning.
Remove -Wall and -Werror from Makefile.am and run automake to apply the change
Signed-off-by Nathaniel Roach <[email protected]>--- package/liboping/0002-no-werror.patch | 14 ++++++++++++++ package/liboping/liboping.mk | 1 + 2 files changed, 15 insertions(+)create mode 100644
package/liboping/0002-no-werror.patchpackage/liboping/0002-no-werror.patch new file +14
-0@@ -0,0 +1,14 @@ +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -2,10 +2,6 @@ AUTOMAKE_OPTIONS = foreign no-dependencies + + SUBDIRS = mans + +-if COMPILER_IS_GCC +-AM_CFLAGS = -Wall -Werror +-endif +- + include_HEADERS = oping.h + lib_LTLIBRARIES = liboping.la + +package/liboping/liboping.mk +1
-0@@ -11,6 +11,7 @@ LIBOPING_INSTALL_STAGING = YES LIBOPING_CONF_OPTS = --without-perl-bindings LIBOPING_LICENSE = LGPL-2.1+, GPL-2.0 LIBOPING_LICENSE_FILES = COPYING +LIBOPING_AUTORECONF = YES ifeq ($(BR2_PACKAGE_NCURSES),y) LIBOPING_DEPENDENCIES += ncurses