From c12d3a34d37b39058c1a63a67c6f416860d70e0f Mon Sep 17 00:00:00 2001 From: Jerome St-Louis Date: Fri, 11 Jul 2014 17:39:21 -0400 Subject: [PATCH 1/1] default.cf: Work around for mistmatched gcc -dumpmachine and /usr/lib/ --- default.cf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/default.cf b/default.cf index cd1697c..b5653a6 100644 --- a/default.cf +++ b/default.cf @@ -45,6 +45,9 @@ TARGET_ARCH :=$(shell $(CC) -dumpmachine) ifneq ($(filter x86_64-pc-linux-gnu,$(TARGET_ARCH)),) # Fix for PREFIXLIBDIR / DEB_HOST_MULTIARCH with Clang on Debian TARGET_ARCH := x86_64-linux-gnu endif + ifneq ($(filter i586-linux-gnu,$(TARGET_ARCH)),) + TARGET_ARCH := i386-linux-gnu + endif endif endif endif -- 1.8.3.1