Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/ipset: Fix compile error
@ 2014-10-19 18:59 Bernd Kuhls
  2014-10-19 19:16 ` Baruch Siach
  2014-10-26 15:42 ` Thomas Petazzoni
  0 siblings, 2 replies; 6+ messages in thread
From: Bernd Kuhls @ 2014-10-19 18:59 UTC (permalink / raw)
  To: buildroot

Error occured with an allyespackageconfig setup:

In file included from print.c:19:0:
print.c: In function 'ipset_print_ip':
../include/libipset/data.h:150:1: error: inlining failed in call to 'ipset_data_test': call is unlikely and code size would grow [-Werror=inline]
 ipset_data_test(const struct ipset_data *data, enum ipset_opt opt)
 ^
print.c:273:21: error: called from here [-Werror=inline]
  if (ipset_data_test(data, cidropt)) {

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/ipset/ipset.mk |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/ipset/ipset.mk b/package/ipset/ipset.mk
index d3dbc67..b1518f4 100644
--- a/package/ipset/ipset.mk
+++ b/package/ipset/ipset.mk
@@ -13,4 +13,6 @@ IPSET_AUTORECONF = YES
 IPSET_LICENSE = GPLv2
 IPSET_LICENSE_FILES = COPYING
 
+IPSET_CONF_ENV = ax_cv_cflags_gcc_option__Winline=""
+
 $(eval $(autotools-package))
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-10-26 19:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-19 18:59 [Buildroot] [PATCH 1/1] package/ipset: Fix compile error Bernd Kuhls
2014-10-19 19:16 ` Baruch Siach
2014-10-26 15:42 ` Thomas Petazzoni
2014-10-26 16:00   ` Baruch Siach
2014-10-26 16:52     ` Thomas Petazzoni
2014-10-26 19:17       ` Baruch Siach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox