HomePhabricator

[Driver] Add flag to request arch-specific-subdir in -rpath

Description

[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

Details

Committed
piramaMar 14 2017, 9:58 AM
Differential Revision
D30700: [Driver] Add flag to request arch-specific-subdir in -rpath
Parents
rC297750: [ubsan] Use the nicer nullability diagnostic handlers
Branches
Unknown
Tags
Unknown