glibc: update to support 2.36 from offical tag 2022.11.3
Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
# Generate version string using:
|
||||
# git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2-
|
||||
# When updating the version, please also update localedef
|
||||
GLIBC_VERSION = 2.32-50-g737efa27fca5c97f566a2005687fda7d6659cd2e
|
||||
GLIBC_VERSION = 2.36-66-ga1dc0be03c9dd850b864bd7a9c03cf8e396eb7ca
|
||||
# Upstream doesn't officially provide an https download link.
|
||||
# There is one (https://sourceware.org/git/glibc.git) but it's not reliable,
|
||||
# sometimes the connection times out. So use an unofficial github mirror.
|
||||
@@ -53,6 +53,11 @@ ifeq ($(BR2_ENABLE_DEBUG),y)
|
||||
GLIBC_EXTRA_CFLAGS += -g
|
||||
endif
|
||||
|
||||
# glibc explicitly requires compile barriers between files
|
||||
ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_4_7),y)
|
||||
GLIBC_EXTRA_CFLAGS += -fno-lto
|
||||
endif
|
||||
|
||||
# The stubs.h header is not installed by install-headers, but is
|
||||
# needed for the gcc build. An empty stubs.h will work, as explained
|
||||
# in http://gcc.gnu.org/ml/gcc/2002-01/msg00900.html. The same trick
|
||||
|
||||
Reference in New Issue
Block a user