kumquat-buildroot/package/x11r7/xlib_libXt/0001-util-don-t-link-makestrs-with-target-cflags.patch
Bernd Kuhls 53b53eca32 package/x11r7/xlib_libXt: bump version to 1.1.5
Remove part of 0001-util-don-t-link-makestrs-with-target-cflags.patch
because it was applied upstream:
http://cgit.freedesktop.org/xorg/lib/libXt/commit/util/makestrs.c?id=f9baaf55ff8cbd4bf018a34f181eda30d03b20dc

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-07-13 10:11:14 +02:00

34 lines
895 B
Diff

From 3f064076c783914cafdff028db303681dae4291d Mon Sep 17 00:00:00 2001
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Date: Thu, 15 Nov 2012 18:31:53 +0100
Subject: [PATCH] libXt: util: don't link makestrs with target cflags
The line:
AM_CFLAGS = $(XT_CFLAGS)
in util/Makefile.am is wrong because it adds target cflags to the
compilation of makestrs, which is built for the build machine, which
leads to build failures when cross-compiling.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
util/Makefile.am | 1 -
util/makestrs.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/util/Makefile.am b/util/Makefile.am
index dedfa6b..cc6f3fc 100644
--- a/util/Makefile.am
+++ b/util/Makefile.am
@@ -10,7 +10,6 @@ EXTRA_DIST = \
StrDefs.ht \
string.list
-AM_CFLAGS = $(XT_CFLAGS)
makestrs_SOURCES = makestrs.c
--
1.7.9.5