[coreboot] New patch to review for coreboot: e186ccf buildgcc: Fix compilation on OpenSUSE AMD64

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Sat Dec 8 00:12:51 CET 2012


Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1999

-gerrit

commit e186ccfa115344d064f8b1347931e75dd3f70abd
Author: Stefan Reinauer <stefan.reinauer at coreboot.org>
Date:   Sat Dec 8 00:11:14 2012 +0100

    buildgcc: Fix compilation on OpenSUSE AMD64
    
    The different sub projects were not agreeing on whether to choose
    lib or lib64 for installing lib64 binaries. So make it all the same,
    since we control the whole build.
    
    Change-Id: I257030ccc21282ac52a0b617f26428e5d6881c31
    Signed-off-by: Stefan Reinauer <reinauer at google.com>
---
 util/crossgcc/buildgcc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index f7f21f0..6e71807 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -312,6 +312,10 @@ mkdir -p build-gmp build-mpfr build-mpc build-libelf build-binutils \
 
 mkdir -p $DESTDIR$TARGETDIR/bin
 export PATH=$DESTDIR$TARGETDIR/bin:$PATH
+# autotools are portability hell. Force things right
+mkdir -p $DESTDIR$TARGETDIR/lib
+ln -s lib $DESTDIR$TARGETDIR/lib64
+ln -s lib $DESTDIR$TARGETDIR/lib32
 
 if [ $SKIPGDB -eq 0 ]; then
 	mkdir -p build-gdb




More information about the coreboot mailing list