This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] 2.31 breaks build of 'gold' for x86_64-w64-mingw32
- From: Cary Coutant <ccoutant at gmail dot com>
- To: stilor at att dot net
- Cc: Binutils <binutils at sourceware dot org>
- Date: Wed, 7 Nov 2018 11:05:58 -0800
- Subject: Re: [PATCH] 2.31 breaks build of 'gold' for x86_64-w64-mingw32
- References: <fea693af-38e8-393f-9699-d7b925aa501f@att.net> <CAJimCsGYc+NA+o6rAbtpuX2ukdHmL_xFKHPZp_3u0=1ZYcc9ig@mail.gmail.com> <6ace3441-a7fc-27d7-3f73-04022ea2035f@att.net>
> Included into the AC_CHECK_FUNCS right above; updated patch attached.
* gold/configure.ac: Add checks for link, mkdtemp.
* gold/configure: Regenerated.
* gold/config.in: Regenerated.
* gold/plugin.cc (Plugin_recorder::init): Fall back to mktemp
if mkdtemp is not available.
(link_or_copy_file): Fall back to copy if link() is not available.
This is OK. Thanks!
-cary