Some fixes to make patched GCC+binutils build cleanly
This commit is contained in:
parent
e19eecf647
commit
91dd381715
3 changed files with 16 additions and 4 deletions
|
|
@ -85,3 +85,14 @@ diff -Naur -x Makefile.in -x aclocal.m4 binutils-2.37-orig/ld/emulparams/elf_x86
|
|||
+++ binutils-2.37/ld/emulparams/elf_x86_64_karlos.sh 2021-09-17 21:50:15.081410176 +0200
|
||||
@@ -0,0 +1 @@
|
||||
+. ${srcdir}/emulparams/elf_x86_64.sh
|
||||
diff -Naur -x aclocal.m4 binutils-2.37-orig/ld/Makefile.in binutils-2.37/ld/Makefile.in
|
||||
--- binutils-2.37-orig/ld/Makefile.in 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ binutils-2.37/ld/Makefile.in 2021-09-17 21:50:15.081410176 +0200
|
||||
@@ -944,6 +944,7 @@
|
||||
eelf_x86_64.c \
|
||||
eelf_x86_64_cloudabi.c \
|
||||
eelf_x86_64_fbsd.c \
|
||||
+ eelf_x86_64_karlos.c \
|
||||
eelf_x86_64_sol2.c \
|
||||
ehppa64linux.c \
|
||||
ei386pep.c \
|
||||
|
|
|
|||
|
|
@ -6,5 +6,5 @@ cd binutils-2.37-build
|
|||
--target="$TARGET" --prefix="$PREFIX" \
|
||||
--disable-nls --disable-werror \
|
||||
--with-sysroot="$SYSROOT"
|
||||
make "$MAKEFLAGS"
|
||||
make install
|
||||
make
|
||||
#make install
|
||||
|
|
|
|||
|
|
@ -6,8 +6,9 @@ cd gcc-11.2.0-build
|
|||
--target="$TARGET" --prefix="$PREFIX" \
|
||||
--disable-nls \
|
||||
--enable-languages=c \
|
||||
--disable-gcov \
|
||||
--with-sysroot="$SYSROOT"
|
||||
make "$MAKEFLAGS" all-gcc
|
||||
make "$MAKEFLAGS" all-target-libgcc
|
||||
make install-gcc
|
||||
make install-target-libgcc
|
||||
#make install-gcc
|
||||
#make install-target-libgcc
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue