[rfc] using --with-sysroot for native builds

Andreas Schwab schwab@redhat.com
Fri Oct 29 08:01:00 GMT 2010
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."



More information about the Binutils mailing list