From: Jerome St-Louis Date: Fri, 11 Jul 2014 21:39:21 +0000 (-0400) Subject: default.cf: Work around for mistmatched gcc -dumpmachine and /usr/lib/ X-Git-Tag: 0.44.10PR1~27 X-Git-Url: https://ecere.com/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c12d3a34d37b39058c1a63a67c6f416860d70e0f;hp=b99b9483c498818401a566e11100d527a92ed0c9;p=sdk default.cf: Work around for mistmatched gcc -dumpmachine and /usr/lib/ --- 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