The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / libiscsi / 0001-Fix-warnings-related-to-subdir-objects.patch
1 From e801ccb2633e3f5842ed6d160af0e6e5cce44c77 Mon Sep 17 00:00:00 2001
2 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3 Date: Tue, 2 Sep 2014 22:38:55 +0200
4 Subject: [PATCH 1/4] Fix warnings related to subdir-objects
5
6 Use AM_INIT_AUTOMAKE in configure.ac to define options such as
7 subdir-objects, instead of AUTOMAKE_OPTIONS in Makefile.am, as it
8 allows to avoid warnings during autoreconf:
9
10 examples/Makefile.am:25: warning: source file '../lib/connect.c' is in a subdirectory,
11 examples/Makefile.am:25: but option 'subdir-objects' is disabled
12
13 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 ---
15  Makefile.am  | 1 -
16  configure.ac | 2 +-
17  2 files changed, 1 insertion(+), 2 deletions(-)
18
19 diff --git a/Makefile.am b/Makefile.am
20 index 7023988..f9de08c 100644
21 --- a/Makefile.am
22 +++ b/Makefile.am
23 @@ -2,7 +2,6 @@
24  SUBDIRS = lib doc utils test-tool examples
25  
26  ACLOCAL_AMFLAGS =-I m4
27 -AUTOMAKE_OPTIONS = foreign subdir-objects
28  AM_CPPFLAGS=-I. -I$(srcdir)/include "-D_U_=__attribute__((unused))" \
29         "-D_R_(A,B)=__attribute__((format(printf,A,B)))"
30  AM_CFLAGS=$(WARN_CFLAGS)
31 diff --git a/configure.ac b/configure.ac
32 index e1d01c6..6d29af0 100644
33 --- a/configure.ac
34 +++ b/configure.ac
35 @@ -3,7 +3,7 @@ AC_INIT(libiscsi, m4_esyscmd([grep 'Version:' ./packaging/RPM/libiscsi.spec.in 2
36  AC_CONFIG_SRCDIR([lib/init.c])
37  AC_CONFIG_MACRO_DIR([m4])
38  
39 -AM_INIT_AUTOMAKE
40 +AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
41  AM_SILENT_RULES
42  LT_INIT
43  
44 -- 
45 2.0.0
46