diff options
author | Sergei Trofimovich <slyich@gmail.com> | 2022-09-13 13:39:13 -0400 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2022-11-13 21:19:27 +0100 |
commit | b8096957c8ecfe1fa2daa4787729b76cf6bc4a33 (patch) | |
tree | 7888246cea4f098201494d661d53288159c1f2f7 /stdio-common/tstgetln.input | |
parent | elf: Do not completely clear reused namespace in dlmopen (bug 29600) (diff) | |
download | glibc-gentoo/2.35.tar.gz glibc-gentoo/2.35.tar.bz2 glibc-gentoo/2.35.zip |
Makerules: fix MAKEFLAGS assignment for upcoming make-4.4 [BZ# 29564]gentoo/glibc-2.35-13gentoo/2.35
make-4.4 will add long flags to MAKEFLAGS variable:
* WARNING: Backward-incompatibility!
Previously only simple (one-letter) options were added to the MAKEFLAGS
variable that was visible while parsing makefiles. Now, all options
are available in MAKEFLAGS.
This causes locale builds to fail when long options are used:
$ make --shuffle
...
make -C localedata install-locales
make: invalid shuffle mode: '1662724426r'
The change fixes it by passing eash option via whitespace and dashes.
That way option is appended to both single-word form and whitespace
separated form.
While at it fixed --silent mode detection in $(MAKEFLAGS) by filtering
out --long-options. Otherwise options like --shuffle flag enable silent
mode unintentionally. $(silent-make) variable consolidates the checks.
Resolves: BZ# 29564
CC: Paul Smith <psmith@gnu.org>
CC: Siddhesh Poyarekar <siddhesh@gotplt.org>
Signed-off-by: Sergei Trofimovich <slyich@gmail.com>
Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
(cherry picked from commit 2d7ed98add14f75041499ac189696c9bd3d757fe)
(cherry picked from commit 3230ddf68554efe995782844cea5d7477a89c6be)
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'stdio-common/tstgetln.input')
0 files changed, 0 insertions, 0 deletions