This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] Fix PR/41943 include search path composition is bogus for *-*-mingw32 targets


Hello,

this patch prevents for DOS based systems, that the sysroot gets add
to a prefix, which has already an absolute path with drive-letter.
This fixes the native build of *-*-mingw32 relocatable toolchains
using --prefix and --with-sysroot. This patch doesn't change behavior
for *nix based OSes.

ChangeLog

2009-12-06  Kai Tietz  <kai.tietz@onevision.com>

	* gcc.c (add_sysrooted_prefix): Don't add sysroot to prefix
	with DOS drive-letter.

Tested this for i686-pc-mingw32 and for (i686|x86_64)-w64-mingw32. Ok for apply?

Cheers,
Kai

-- 
|  (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination

Attachment: pr41943.diff
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]