summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2015-12-06 11:00:00 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2015-12-06 11:00:17 +0100
commite7512db0476211c140fef0a75f0ea56fcc8af508 (patch)
tree1286f1c67af041d20bea03c0cb31efe23f024a81
parent4ec9a26a2a3feab73e9824b8549b0b4aefc13b1c (diff)
downloadptxdist-e7512db0476211c140fef0a75f0ea56fcc8af508.tar.gz
ptxdist-e7512db0476211c140fef0a75f0ea56fcc8af508.tar.xz
libgpg-error: fix building for x86
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/libgpg-error.make2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/libgpg-error.make b/rules/libgpg-error.make
index 0efcd9dce..93592b063 100644
--- a/rules/libgpg-error.make
+++ b/rules/libgpg-error.make
@@ -32,7 +32,7 @@ LIBGPG_ERROR_LICENSE_FILES := \
file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1
-LIBGPG_ERROR_TARGET := $(shell target=$(PTXCONF_GNU_TARGET); echo $${target/-*-linux/-$(if $(PTXCONF_ARCH_X86),pc,unknown)-linux})
+LIBGPG_ERROR_TARGET := $(patsubst i%86-pc-linux-gnu,i686-pc-linux-gnu,$(shell target=$(PTXCONF_GNU_TARGET); echo $${target/-*-linux/-$(if $(PTXCONF_ARCH_X86),pc,unknown)-linux}))
# ----------------------------------------------------------------------------
# Prepare