This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [rfc] using --with-sysroot for native builds
- From: Andreas Schwab <schwab at redhat dot com>
- To: Matthias Klose <doko at ubuntu dot com>
- Cc: binutils at sourceware dot org
- Date: Fri, 29 Oct 2010 10:01:25 +0200
- Subject: Re: [rfc] using --with-sysroot for native builds
- References: <4CC9956B.2090303@ubuntu.com>
Matthias Klose <doko@ubuntu.com> writes:
> --- a/ld/configure.in
> +++ b/ld/configure.in
> @@ -38,7 +38,9 @@
> *) TARGET_SYSTEM_ROOT=$with_sysroot ;;
> esac
>
> + if test "x$TARGET_SYSTEM_ROOT" != x/; then
> TARGET_SYSTEM_ROOT_DEFINE='-DTARGET_SYSTEM_ROOT=\"$(TARGET_SYSTEM_ROOT)\"'
> + fi
You don't need this hunk since you can say '--with-sysroot='.
Andreas.
--
Andreas Schwab, schwab@redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E
"And now for something completely different."