From 3f62af76b9fbaaa1877e98722571ae70fab49347 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Fri, 16 Sep 2011 03:55:36 +0000 Subject: [PATCH] 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. llvm-svn: 139899 --- clang/test/CodeGen/sse-builtins.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/test/CodeGen/sse-builtins.c b/clang/test/CodeGen/sse-builtins.c index a89c42e08a3f..64ee4c970fe0 100644 --- a/clang/test/CodeGen/sse-builtins.c +++ b/clang/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