diff options
author | Filipe Cabecinhas <me@filcab.net> | 2014-10-16 23:43:34 +0000 |
---|---|---|
committer | Filipe Cabecinhas <me@filcab.net> | 2014-10-16 23:43:34 +0000 |
commit | a88ba84e7ea769195d1b7d76c8dc98508c8d5473 (patch) | |
tree | d18ba246aaac3c90e0435e530159d53896b635e3 /debuginfo-tests/ctor.cpp | |
parent | 71ae28d7eb7bd8c7bdf7fba46b4001e375acfb4e (diff) |
Always compile debuginfo-tests for the host triple
Since these tests expect a working debugger, always compile them for the
host triple, assuming a working debugger is present.
This enables us to compile and run them, even when clang is, by default,
a cross-compiler (but can still target the host).
Diffstat (limited to 'debuginfo-tests/ctor.cpp')
-rw-r--r-- | debuginfo-tests/ctor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debuginfo-tests/ctor.cpp b/debuginfo-tests/ctor.cpp index 331d4e5756c..8a858e40dac 100644 --- a/debuginfo-tests/ctor.cpp +++ b/debuginfo-tests/ctor.cpp @@ -1,5 +1,5 @@ -// RUN: %clangxx -O0 -g %s -c -o %t.o -// RUN: %clangxx %t.o -o %t.out +// RUN: %clangxx --target=%itanium_abi_host_triple -O0 -g %s -c -o %t.o +// RUN: %clangxx --target=%itanium_abi_host_triple %t.o -o %t.out // RUN: %test_debuginfo %s %t.out |