Index: compiler-rt/trunk/lib/fuzzer/CMakeLists.txt =================================================================== --- compiler-rt/trunk/lib/fuzzer/CMakeLists.txt +++ compiler-rt/trunk/lib/fuzzer/CMakeLists.txt @@ -120,8 +120,8 @@ if(OS_NAME MATCHES "Linux|Fuchsia" AND COMPILER_RT_LIBCXX_PATH AND COMPILER_RT_LIBCXXABI_PATH) - macro(partially_link_libcxx name dir arch) - if (${arch} MATCHES "i386") + macro(partially_link_libcxx name dir arch) + if(${arch} MATCHES "i386") set(EMULATION_ARGUMENT "-m" "elf_i386") else() set(EMULATION_ARGUMENT "") Index: compiler-rt/trunk/test/fuzzer/compressed.test =================================================================== --- compiler-rt/trunk/test/fuzzer/compressed.test +++ compiler-rt/trunk/test/fuzzer/compressed.test @@ -1,5 +1,7 @@ REQUIRES: linux REQUIRES: zlib +# zlib is "supported" on i386 even when only for x86_64, explicitly make i386 +# unsupported by this test. UNSUPPORTED: i386 # Custom mutator should find this bug, w/o custom -- no chance. RUN: %cpp_compiler %S/CompressedTest.cpp -o %t-CompressedTestCustom -DCUSTOM_MUTATOR -lz