Enables plugins in binutils for gold linker (XCC)
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 17 Mar 2015 16:02:08 +0000 (12:02 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 17 Mar 2015 16:02:08 +0000 (12:02 -0400)
To use gold for Akaros (e.g. -fuse-ld=gold in tests/Makefile), we also
need to enable plugins.

Blow away the config and workdir, and rebuild binutils (or just make
clean, etc).

tools/compilers/gcc-glibc/Makefile

index f7344c8..105e97c 100644 (file)
@@ -224,6 +224,7 @@ native-binutils-configure:
                --disable-werror \
                --enable-ld=yes \
                --enable-gold=yes \
+               --enable-plugins=yes \
                --with-pkgversion="akaros-repo" \
                --disable-multilib \
                --disable-nls
@@ -239,6 +240,7 @@ cross-binutils-configure:
                --disable-werror \
                --enable-ld=yes \
                --enable-gold=yes \
+               --enable-plugins=yes \
                --with-pkgversion="akaros-repo" \
                --disable-multilib \
                --disable-nls \