From fde8d14ea3061ff82e9dfddb23f17648c103eae6 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Mon, 3 Oct 2011 06:41:08 +0000 Subject: Add initial support for applying the sysroot to library search paths. This is still very much a WIP, but sysroot was completely broken before this so we are moving closer to correctness. The crux of this is that 'ld' (on Linux, the only place I'm touching here) doesn't apply the sysroot to any flags given to it. Instead, the driver must translate all the paths it adds to the link step with the system root. This is easily observed by building a GCC that supports sysroot, and checking its driver output. This patch just fixes the non-multilib library search paths. We should also use this in many other places, but first things first. This also allows us to make the Linux 'ld' test independent of the host system. This in turn will allow me to check in test tree configurations based on various different distro's configuration. Again, WIP. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140990 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Driver/Inputs/basic_linux_tree/usr/lib/.keep | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 test/Driver/Inputs/basic_linux_tree/usr/lib/.keep (limited to 'test/Driver/Inputs/basic_linux_tree/usr/lib') diff --git a/test/Driver/Inputs/basic_linux_tree/usr/lib/.keep b/test/Driver/Inputs/basic_linux_tree/usr/lib/.keep new file mode 100644 index 0000000000..e69de29bb2 -- cgit v1.2.3-18-g5258