From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by sourceware.org (Postfix) with ESMTPS id 5A391385741C for ; Fri, 9 Sep 2022 11:50:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 5A391385741C Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wr1-x429.google.com with SMTP id bj14so2273223wrb.12 for ; Fri, 09 Sep 2022 04:50:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date; bh=H4uAZ1iDjMTCFA0yQPVzOEWugf9s3n8cFPNF4D7gpJA=; b=E/65GPER9+vcBZBr348MdICgYLz3FexJuPkVnGThUs5k+lP7Ca4VzwZLLEYsme7Q2p pPW+qPMnpZgCjFDhlweNZxAOj0b0i3ssD+awb4oMdFx4hTw77CBzpQeraI1ikvUdMR/a pGs1vhFhHNqcKL9nlIvNGaK/FrqQEwQCfErVrNOj+vwuHj11muv4a1ekSKem91yjJE6B k8aGhrOWXelJWr2TLxJSPs74FK2iDokx1KFkZRRc72BMJi6H3XgdPUVt0HTQA71RsYQ8 yltkvjeHnYe00gt07f6vd1uibNZUzQQvnAI+kdc83gWThu6Rgi9BOsl6u2sAE7RjKoEX RW9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date; bh=H4uAZ1iDjMTCFA0yQPVzOEWugf9s3n8cFPNF4D7gpJA=; b=TWNm183bhWJdAkrmuVzg25jdc7EYAbc1l+1a+61a2uy7h64qwonT1y7wLdyWIOyJdx Daz3+kpw+SU2VGxPhwhazmTUFVGCTfirEzCRpd3Gp7lsZEdQxbAh9XWLvvfRKpeaOUes HZZmNCbo7RU3KjCxFLlDuzgO/akPmVIVtarxI0wi0v07J/qrn6X3HNPZ9i//7lQbLCck cvYla42Ibhlx58oiIJKCUM47LXRiosnP96p4Eq7q5QHLRMpY513h/ckxHtcIKyeajexL 3A8j+GsDnwVUVBp6kJxzgWv0E2VKZjfcS1m8cQ0HqHFGu8cjhSprCz4Kxkauqiwbf/tj khFw== X-Gm-Message-State: ACgBeo0LwCyGYYAY9fsDlWRoCO7P6GuJjpdSkgpITD3Wv3ZPngaeRy0I 4QEB3UP5OIsKU2l8UOn/yfE= X-Google-Smtp-Source: AA6agR4sXkAHBu3tnCBv6FqlxNB9mVh8q3CWbnDlTTalE+020NgHk6fqZ2X36xHpDFU6rpU5RdvFPA== X-Received: by 2002:a5d:5350:0:b0:225:7560:8403 with SMTP id t16-20020a5d5350000000b0022575608403mr7352323wrv.507.1662724249217; Fri, 09 Sep 2022 04:50:49 -0700 (PDT) Received: from nz.home (host81-129-83-151.range81-129.btcentralplus.com. [81.129.83.151]) by smtp.gmail.com with ESMTPSA id z11-20020a7bc7cb000000b003b3401f1e24sm397426wmk.28.2022.09.09.04.50.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Sep 2022 04:50:48 -0700 (PDT) Received: by nz.home (Postfix, from userid 1000) id EA2FE6AF07639; Fri, 9 Sep 2022 12:50:47 +0100 (BST) From: Sergei Trofimovich To: libc-alpha@sourceware.org Cc: Sergei Trofimovich Subject: [PATCH] Makefules: fix MAKEFLAGS assignment for upcoming make-4.4 Date: Fri, 9 Sep 2022 12:50:39 +0100 Message-Id: <20220909115039.3802300-1-slyich@gmail.com> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,GIT_PATCH_0,KAM_NUMSUBJECT,RCVD_IN_BARRACUDACENTRAL,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: 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. Signed-off-by: Sergei Trofimovich --- Makerules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makerules b/Makerules index d1e139d03c..17c16fdada 100644 --- a/Makerules +++ b/Makerules @@ -794,7 +794,7 @@ endif # Maximize efficiency by minimizing the number of rules. .SUFFIXES: # Clear the suffix list. We don't use suffix rules. # Don't define any builtin rules. -MAKEFLAGS := $(MAKEFLAGS)r +MAKEFLAGS := $(MAKEFLAGS) -r # Generic rule for making directories. %/: -- 2.37.2