blob: 1a691a3d5e2dcf14513b33aa7ed3f4c1f677e94e [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001From b0c0e6d90bd99a699701c9542640adb218f5d536 Mon Sep 17 00:00:00 2001
2From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3Date: Mon, 10 Jul 2017 16:51:13 +0300
4Subject: [PATCH] libXt: util: don't link makestrs with target cflags
5
6The line: AM_CFLAGS = $(XT_CFLAGS)
7in util/Makefile.am is wrong because it adds target cflags to the
8compilation of makestrs, which is built for the build machine, which
9leads to build failures when cross-compiling.
10
11Upstream-Status: Pending
12
13Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14Signed-off-by: Maxin B. John <maxin.john@intel.com>
15---
16 util/Makefile.am | 1 -
17 1 file changed, 1 deletion(-)
18
19diff --git a/util/Makefile.am b/util/Makefile.am
20index 800b35b..f2dd1f9 100644
21--- a/util/Makefile.am
22+++ b/util/Makefile.am
23@@ -11,7 +11,6 @@ EXTRA_DIST = \
24 StrDefs.ht \
25 string.list
26
27-AM_CFLAGS = $(XT_CFLAGS)
28 makestrs_SOURCES = makestrs.c
29
30
31--
322.4.0
33