summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/xorg-lib/libxt
diff options
context:
space:
mode:
authorMaxin B. John <maxin.john@intel.com>2017-07-11 15:58:13 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-17 14:01:38 +0100
commit8e7d868f039d18dc7b27263fc401ac0b6084ca4e (patch)
tree8050650c683853861435354753c57c82496b5e5c /meta/recipes-graphics/xorg-lib/libxt
parent6e002d9ffcaec5cc737de144c8c1efdee844e5b4 (diff)
downloadpoky-8e7d868f039d18dc7b27263fc401ac0b6084ca4e.tar.gz
libxt: fix build failure
libxt build fails with this error: /home/maxin/poky/build/tmp/work/i586-poky-linux/libxt/1_1.1.5-r0/recipe-sysroot/usr/include/bits/long-double.h:57:33: fatal error: bits/long-double-64.h: No such file or directory | compilation terminated. | Makefile:408: recipe for target 'makestrs.o' failed Fix the makestrs build. (From OE-Core rev: 844d477982bb104fa1674324d2699b8995a51a58) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/xorg-lib/libxt')
-rw-r--r--meta/recipes-graphics/xorg-lib/libxt/0001-libXt-util-don-t-link-makestrs-with-target-cflags.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-lib/libxt/0001-libXt-util-don-t-link-makestrs-with-target-cflags.patch b/meta/recipes-graphics/xorg-lib/libxt/0001-libXt-util-don-t-link-makestrs-with-target-cflags.patch
new file mode 100644
index 0000000000..1a691a3d5e
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxt/0001-libXt-util-don-t-link-makestrs-with-target-cflags.patch
@@ -0,0 +1,33 @@
1From 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