default.cf: Work around for mistmatched gcc -dumpmachine and /usr/lib/
authorJerome St-Louis <jerome@ecere.com>
Fri, 11 Jul 2014 21:39:21 +0000 (17:39 -0400)
committerJerome St-Louis <jerome@ecere.com>
Fri, 11 Jul 2014 21:39:21 +0000 (17:39 -0400)
default.cf

index cd1697c..b5653a6 100644 (file)
@@ -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