gcc: update to 9046071dddb0a9ee7e30e5edf27cfc53b5b9c238

Initializes the submodule

Unfortunately, Buildroot does not seem to use it:
https://stackoverflow.com/questions/54992977/how-to-select-an-override-srcdir-custom-source-code-for-gcc-when-building-buildr
so tracking it here just for fun for now. We don't clone on ./build by
default, so it should not impact anyone.
This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-03-05 00:00:00 +00:00
parent fdb9ff5fa3
commit bc03d3ba8a
4 changed files with 11 additions and 3 deletions

3
.gitmodules vendored
View File

@@ -33,3 +33,6 @@
[submodule "submodules/xen"]
path = submodules/xen
url = git://xenbits.xen.org/xen.git
[submodule "submodules/gcc"]
path = submodules/gcc
url = git@github.com:cirosantilli/gcc.git

2
build
View File

@@ -112,6 +112,8 @@ so looping over all of them would waste time.
},
submodules_shallow = {
'binutils-gdb',
# https://stackoverflow.com/questions/54992977/how-to-select-an-override-srcdir-source-for-gcc-when-building-buildroot
# 'gcc',
'glibc',
},
# https://buildroot.org/downloads/manual/manual.html#requirement

View File

@@ -1,5 +1,7 @@
BINUTILS_OVERRIDE_SRCDIR = ../../submodules/binutils-gdb
# https://stackoverflow.com/questions/54992977/how-to-select-an-override-srcdir-source-for-gcc-when-building-buildroot
GCC_OVERRIDE_SRCDIR = ../../submodules/gcc
GDB_OVERRIDE_SRCDIR = ../../submodules/binutils-gdb
GLIBC_OVERRIDE_SRCDIR = ../../submodules/glibc
LINUX_OVERRIDE_SRCDIR = ../../submodules/linux
QEMU_OVERRIDE_SRCDIR = ../../submodules/qemu
GLIBC_OVERRIDE_SRCDIR = ../../submodules/glibc
BINUTILS_OVERRIDE_SRCDIR = ../../submodules/binutils-gdb
GDB_OVERRIDE_SRCDIR = ../../submodules/binutils-gdb

1
submodules/gcc Submodule

Submodule submodules/gcc added at 9046071ddd