Index: make/platform/clang_linux.mk =================================================================== --- make/platform/clang_linux.mk +++ make/platform/clang_linux.mk @@ -19,9 +19,9 @@ # Only define configs if we detected a linux target. ifneq ($(findstring -linux-,$(CompilerTargetTriple)),) -# Define configs only if arch in triple is i386 or x86_64 +# Define configs only if arch in triple is i386, i585, i686 or x86_64 CompilerTargetArch := $(firstword $(subst -, ,$(CompilerTargetTriple))) -ifeq ($(call contains,i386 x86_64,$(CompilerTargetArch)),true) +ifeq ($(call contains,i386 i586 i686 x86_64,$(CompilerTargetArch)),true) # TryCompile compiler source flags # Returns exit code of running a compiler invocation. @@ -35,7 +35,7 @@ echo $$?) test_source = $(ProjSrcRoot)/make/platform/clang_linux_test_input.c -ifeq ($(CompilerTargetArch),i386) +ifeq ($(call contains,i386 i586 i686,$(CompilerTargetArch)),true) SupportedArches := i386 ifeq ($(call TryCompile,$(CC),$(test_source),-m64),0) SupportedArches += x86_64