diff options
author | Hans-Christian Noren Egtvedt <hegtvedt@cisco.com> | 2020-10-05 09:49:07 +0200 |
---|---|---|
committer | Hans-Christian Noren Egtvedt <hegtvedt@cisco.com> | 2020-10-05 09:54:46 +0200 |
commit | 80a2e0cf8764cd38a6b4783786a54d614a78243e (patch) | |
tree | 616b8a8ceb9952281e7fa6ff9104b845f880e544 /packages/glibc | |
parent | b3ed2c40d37cf7d5c2143307286f5d9557ed2df3 (diff) | |
download | crosstool-ng-80a2e0cf8764cd38a6b4783786a54d614a78243e.tar.gz crosstool-ng-80a2e0cf8764cd38a6b4783786a54d614a78243e.tar.bz2 crosstool-ng-80a2e0cf8764cd38a6b4783786a54d614a78243e.zip |
glibc: fix version 2.32 not setting correct version string
Backport change from glibc upstream that defines RELEASE as stable
instead of release. This will at least cause the default_cflags to be
set to expected default values again.
Ref issue #1396, although the bigger issue of respecting crosstool-ng
CT_GLIBC_EXTRA_CFLAGS is most likely still not fixed.
Signed-off-by: Hans-Christian Noren Egtvedt <hegtvedt@cisco.com>
Diffstat (limited to 'packages/glibc')
-rw-r--r-- | packages/glibc/2.32/0001-Set-version.h-RELEASE-to-stable-Bug-26700.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/packages/glibc/2.32/0001-Set-version.h-RELEASE-to-stable-Bug-26700.patch b/packages/glibc/2.32/0001-Set-version.h-RELEASE-to-stable-Bug-26700.patch new file mode 100644 index 00000000..e02e69ba --- /dev/null +++ b/packages/glibc/2.32/0001-Set-version.h-RELEASE-to-stable-Bug-26700.patch @@ -0,0 +1,26 @@ +From 23482f788665df83edc8b542698f45fed45a2711 Mon Sep 17 00:00:00 2001 +From: Carlos O'Donell <carlos@redhat.com> +Date: Fri, 2 Oct 2020 09:23:35 -0400 +Subject: [PATCH] Set version.h RELEASE to "stable" (Bug 26700) + +The RELEASE macro was accidentaly set to "release" instead of +the expected "stable" by the release manager. This is a mistake +that leads to the build using "-g -O1" instead of "-g -O2" if +configure was executed with "CFLAGS=" (CFLAGS set but empty). +--- + version.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/version.h b/version.h +index 83cd196798..e6ca7a8857 100644 +--- a/version.h ++++ b/version.h +@@ -1,4 +1,4 @@ + /* This file just defines the current version number of libc. */ + +-#define RELEASE "release" ++#define RELEASE "stable" + #define VERSION "2.32" +-- +2.25.1 + |