[coreboot-gerrit] New patch to review for coreboot: 3146dbb0 buildgcc: Fix msys2 crossgcc build fail
Scott Duplichan (scott@notabs.org)
gerrit at coreboot.org
Sat Dec 13 03:24:02 CET 2014
Scott Duplichan (scott at notabs.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/7788
-gerrit
commit 3146dbb0c86dc71ce2802a004b7fc1da88e9c09d
Author: Scott Duplichan <scott at notabs.org>
Date: Fri Dec 12 20:21:40 2014 -0600
buildgcc: Fix msys2 crossgcc build fail
A double slash results when $DESTDIR/$TARGETDIR is expanded in the
libelf portion of buildgcc. This causes buildgcc to fail when run
from Windows/Msys2. Though the fail appears to be caused by msys2
not tolerating a double slash in a path, changing the libelf part
of buildgcc to use $DESTDIR$TARGETDIR makes it consistent with with
the rest of buildgcc.
Change-Id: Ide2bae41c07c1566f80104c3a2e2acab53de0d17
Signed-off-by: Scott Duplichan <scott at notabs.org>
---
util/crossgcc/buildgcc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index 7f2643f..a35bf33 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
More information about the coreboot-gerrit
mailing list