diff options
author | Sebastian Pop <spop@codeaurora.org> | 2012-01-20 22:01:23 +0000 |
---|---|---|
committer | Sebastian Pop <spop@codeaurora.org> | 2012-01-20 22:01:23 +0000 |
commit | 422377cfd3a8e7ff74eba5db22540cd8d0c42807 (patch) | |
tree | a08e2b2459a37470efe08118af7cd531e536317b /clang/test/Driver/sysroot.c | |
parent | e7b9d4342b10d8bff6e0ae38c80ef27877ebd73a (diff) | |
download | bcm5719-llvm-422377cfd3a8e7ff74eba5db22540cd8d0c42807.tar.gz bcm5719-llvm-422377cfd3a8e7ff74eba5db22540cd8d0c42807.zip |
rename -ccc-host-triple into -target
llvm-svn: 148582
Diffstat (limited to 'clang/test/Driver/sysroot.c')
-rw-r--r-- | clang/test/Driver/sysroot.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/Driver/sysroot.c b/clang/test/Driver/sysroot.c index 79db900d07e..3080f76e031 100644 --- a/clang/test/Driver/sysroot.c +++ b/clang/test/Driver/sysroot.c @@ -1,18 +1,18 @@ // Check that --sysroot= also applies to header search paths. -// RUN: %clang -ccc-host-triple i386-unk-unk --sysroot=/FOO -### -E %s 2> %t1 +// RUN: %clang -target i386-unk-unk --sysroot=/FOO -### -E %s 2> %t1 // RUN: FileCheck --check-prefix=CHECK-SYSROOTEQ < %t1 %s // CHECK-SYSROOTEQ: "-cc1"{{.*}} "-isysroot" "{{[^"]*}}/FOO" // Apple Darwin uses -isysroot as the syslib root, too. // RUN: touch %t2.o -// RUN: %clang -ccc-host-triple i386-apple-darwin10 \ +// RUN: %clang -target i386-apple-darwin10 \ // RUN: -isysroot /FOO -### %t2.o 2> %t2 // RUN: FileCheck --check-prefix=CHECK-APPLE-ISYSROOT < %t2 %s // CHECK-APPLE-ISYSROOT: "-arch" "i386"{{.*}} "-syslibroot" "{{[^"]*}}/FOO" // Check that honor --sysroot= over -isysroot, for Apple Darwin. // RUN: touch %t3.o -// RUN: %clang -ccc-host-triple i386-apple-darwin10 \ +// RUN: %clang -target i386-apple-darwin10 \ // RUN: -isysroot /FOO --sysroot=/BAR -### %t3.o 2> %t3 // RUN: FileCheck --check-prefix=CHECK-APPLE-SYSROOT < %t3 %s // CHECK-APPLE-SYSROOT: "-arch" "i386"{{.*}} "-syslibroot" "{{[^"]*}}/BAR" |