[PATCH] D11618: [CMake] Pass -march=i686 when targeting i686 (PR24222)

Alexey Samsonov vonosmas at gmail.com
Wed Jul 29 18:38:27 PDT 2015


samsonov added inline comments.

================
Comment at: test/sanitizer_common/TestCases/Linux/open_memstream.cc:2
@@ -3,1 +1,3 @@
+// RUN: %clangxx -m64 -march='' -O0 -g -xc++ %s -o %t && %run %t
+// RUN: %clangxx -m64 -march='' -O3 -g -xc++ %s -o %t && %run %t
 // REQUIRES: x86_64-supported-target
----------------
hans wrote:
> samsonov wrote:
> > Would `-march=x86_64` work here?
> Yes, but it has to be spelled -march=x86-64. Would you prefer that?
Yes please.


http://reviews.llvm.org/D11618







More information about the llvm-commits mailing list