File tree 1 file changed +2
-4
lines changed
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 1
- // Fails on ARM/AArch64-hosted Windows, can't tell why.
2
- // UNSUPPORTED: system-windows
3
-
4
1
// Check that --sysroot= also applies to header search paths.
5
2
// RUN: %clang -target i386-unk-unk --sysroot=/FOO -### -E %s 2> %t1
6
3
// RUN: FileCheck --check-prefix=CHECK-SYSROOTEQ < %t1 %s
7
4
// CHECK-SYSROOTEQ: "-cc1"{{.*}} "-isysroot" "{{[^"]*}}/FOO"
8
5
9
6
// Apple Darwin uses -isysroot as the syslib root, too.
7
+ // We pass --sysroot="" to defeat any -DDEFAULT_SYSROOT parameter.
10
8
// RUN: touch %t2.o
11
9
// RUN: %clang -target i386-apple-darwin10 \
12
- // RUN: -isysroot /FOO -### %t2.o 2> %t2
10
+ // RUN: -isysroot /FOO --sysroot="" - ### %t2.o 2> %t2
13
11
// RUN: FileCheck --check-prefix=CHECK-APPLE-ISYSROOT < %t2 %s
14
12
// CHECK-APPLE-ISYSROOT: "-arch" "i386"{{.*}} "-syslibroot" "{{[^"]*}}/FOO"
15
13
You can’t perform that action at this time.
0 commit comments