[Driver] Add flag to request arch-specific-subdir in -rpath
Summary: This patch adds -f[no-]rtlib-add-rpath, which if enabled, embeds the arch-specific subdirectory in resource directory using -rpath (instead of doing so only during native compilation). This patch also re-enables test arch-specific-libdir.c which was silently unsupported because of the REQUIRES tag 'linux'. Reviewers: bkramer, rnk, mgorny Subscribers: srhines, cfe-commits Differential Revision: https://reviews.llvm.org/D30700 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@297751 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/Driver/Options.td 4 additions, 0 deletionsinclude/clang/Driver/Options.td
- lib/Driver/ToolChains/CommonArgs.cpp 0 additions, 4 deletionslib/Driver/ToolChains/CommonArgs.cpp
- test/Driver/arch-specific-libdir-rpath.c 55 additions, 20 deletionstest/Driver/arch-specific-libdir-rpath.c
- test/Driver/arch-specific-libdir.c 0 additions, 2 deletionstest/Driver/arch-specific-libdir.c
- test/lit.cfg 0 additions, 4 deletionstest/lit.cfg
Loading
Please register or sign in to comment