summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/sysroot-flags.c
Commit message (Collapse)AuthorAgeFilesLines
* Revert rL301998: "Fix a bug that -isysroot is completely ignored on Unix"Yuka Takahashi2017-05-031-4/+0
| | | | | | | | This reverts commit because it broke sanitizer-x86_64-linux-autoconf bot and clang-ppc64be-linux-multistage bot. llvm-svn: 302000
* Fix a bug that -isysroot is completely ignored on UnixYuka Takahashi2017-05-031-0/+4
| | | | | | | | | | | | -isysroot is the flag which set the system root directory. This bug report https://bugs.llvm.org//show_bug.cgi?id=11503 shows that -isysroot is not handled at all on Unix, so fixed this bug. After this diff, I could get this result https://pastebin.com/TeCmn9mj . Differential Revision: https://reviews.llvm.org/D31495 llvm-svn: 301998
* rename -ccc-host-triple into -targetSebastian Pop2012-01-201-3/+3
| | | | llvm-svn: 148582
* Revert r148138; it's causing test failures.Eli Friedman2012-01-131-3/+3
| | | | llvm-svn: 148141
* rename -ccc-host-triple into -targetSebastian Pop2012-01-131-3/+3
| | | | llvm-svn: 148138
* test/Driver/sysroot-flags.c: Tweak for Mingw MSYS bash.NAKAMURA Takumi2011-03-181-7/+7
| | | | | | | MSYS substitutes path (that begins with "/") to de-mounted Windows path, even if it were nonexistent. "/foo/bar" might be substituted to "C:/msysgit/foo/bar". llvm-svn: 127861
* Make this test resilient to whether or not the Linux toolchain renders theChandler Carruth2010-12-081-3/+3
| | | | | | sysroot flag to the link command as a joined flag or a separate flag. llvm-svn: 121270
* Use ld directly on linux. Changes from the previous try:Rafael Espindola2010-11-071-3/+3
| | | | | | | | | | | | | | | | | *) Try to detect as much as possible from the system itself, not the distro. This should make it easier to port to a new distro and more likely to work on a unknown one. *) The distro enum now doesn't include the arch. Just use the existing host detection support in LLVM. *) Correctly handle --sysroot. A small regression is that now clang will pass bitcode file to the linker. This is necessary for the gold plugin support to work. It might be better to detect this at configure/cmake time, but doing it in c++ first is a lot easier. llvm-svn: 118382
* Try again to pacify the build bots. =/ I'm getting a Darwin machine to test on.Chandler Carruth2010-10-201-5/+7
| | | | llvm-svn: 116918
* Remove a modern bash-ism and use simpler shell redirects. Hopefully will fixChandler Carruth2010-10-201-4/+4
| | | | | | build bots. llvm-svn: 116914
* Add support for the '--sysroot' flag, and an accompanying test of itsChandler Carruth2010-10-201-0/+26
interactions with -isysroot and other driver commands. llvm-svn: 116912
OpenPOWER on IntegriCloud