From: NAKAMURA Takumi Date: Fri, 16 Sep 2011 03:55:36 +0000 (+0000) Subject: test/CodeGen/sse-builtins.c: Make this host-independent to unbreak posix-unlike hosts. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b5f8f07c68e7ec7b63c62649b11d557da4f0bed1;p=clang test/CodeGen/sse-builtins.c: Make this host-independent to unbreak posix-unlike hosts. Without -ffreestanding, clang tries to seek /usr/include/stdlib.h in host filesystem, even on Windows hosts. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139899 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/sse-builtins.c b/test/CodeGen/sse-builtins.c index a89c42e08a..64ee4c970f 100644 --- a/test/CodeGen/sse-builtins.c +++ b/test/CodeGen/sse-builtins.c @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -triple i386-apple-darwin9 -target-cpu pentium4 -target-feature +sse4.1 -g -emit-llvm %s -o - | FileCheck %s +// RUN: %clang_cc1 -ffreestanding -triple i386-apple-darwin9 -target-cpu pentium4 -target-feature +sse4.1 -g -emit-llvm %s -o - | FileCheck %s #include