From 4270a9777cc4319cf6e33594f30f2069dc4060c8 Mon Sep 17 00:00:00 2001 From: Scott Duplichan Date: Fri, 12 Dec 2014 20:21:40 -0600 Subject: buildgcc: Fix msys2 crossgcc build fail A leading double slash can result when $DESTDIR/$TARGETDIR is expanded in the libelf portion of buildgcc. The leading double slash causes buildgcc to fail when run from Windows/Msys2. Replace $DESTDIR/$TARGETDIR with $DESTDIR$TARGETDIR to avoid the problem. Change-Id: Ide2bae41c07c1566f80104c3a2e2acab53de0d17 Signed-off-by: Scott Duplichan Reviewed-on: http://review.coreboot.org/7788 Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc --- util/crossgcc/buildgcc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc index 7f2643fa60..a35bf33ef4 100755 --- a/util/crossgcc/buildgcc +++ b/util/crossgcc/buildgcc @@ -437,7 +437,7 @@ printf "Building libelf ${LIBELF_VERSION} ... " ../${LIBELF_DIR}/configure --disable-shared --prefix=$TARGETDIR \ --infodir=$TARGETDIR/info CFLAGS="$HOSTCFLAGS" || touch .failed $MAKE $JOBS || touch .failed - $MAKE install prefix=$DESTDIR/$TARGETDIR || touch .failed + $MAKE install prefix=$DESTDIR$TARGETDIR || touch .failed normalize_dirs -- cgit v1.2.3