All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/liboping: remove -Werror build flag
@ 2020-01-25 15:32 Nathaniel Roach
  2020-01-25 15:35 ` Nathaniel Roach
  0 siblings, 1 reply; 8+ messages in thread
From: Nathaniel Roach @ 2020-01-25 15:32 UTC (permalink / raw)
  To: buildroot

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 <nroach44@nroach44.id.au>
---
 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

diff --git a/package/liboping/0002-no-werror.patch b/package/liboping/0002-no-werror.patch
new file mode 100644
index 0000000000..febb2c0335
--- /dev/null
+++ b/package/liboping/0002-no-werror.patch
@@ -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
+ 
+
diff --git a/package/liboping/liboping.mk b/package/liboping/liboping.mk
index 4aa3e30ee8..6e3530fdb0 100644
--- a/package/liboping/liboping.mk
+++ b/package/liboping/liboping.mk
@@ -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
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 8+ messages in thread
[parent not found: <20200124143609.14313-1-nroach44@gmail.com>]

end of thread, other threads:[~2020-02-05 12:08 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-25 15:32 [Buildroot] [PATCH 1/2] package/liboping: remove -Werror build flag Nathaniel Roach
2020-01-25 15:35 ` Nathaniel Roach
     [not found] <20200124143609.14313-1-nroach44@gmail.com>
2020-01-25 20:04 ` Fabrice Fontaine
2020-01-26  0:15   ` Nathaniel Roach
2020-01-26  9:03     ` Fabrice Fontaine
2020-02-03 21:11       ` Peter Korsgaard
2020-02-04 10:01         ` Nathaniel Roach
2020-02-05 12:08         ` Nathaniel Roach

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.