Index: make/platform/clang_linux.mk =================================================================== --- make/platform/clang_linux.mk +++ make/platform/clang_linux.mk @@ -21,6 +21,9 @@ # Define configs only if arch in triple is i386 or x86_64 CompilerTargetArch := $(firstword $(subst -, ,$(CompilerTargetTriple))) +ifeq ($(call contains,i686,$(CompilerTargetArch)),true) +CompilerTargetArch := i386 +endif ifeq ($(call contains,i386 x86_64,$(CompilerTargetArch)),true) # TryCompile compiler source flags