From patchwork Fri Sep 24 16:00:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 45421 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A752C3857C52 for ; Fri, 24 Sep 2021 16:00:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A752C3857C52 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1632499248; bh=rCBWs72hPiaLimmgcXeukSLrKHfYCa0Ml53T109ftAg=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=GbcpY/ct88bUOHXf8RpINvKYH3d5IazHHb9iZaMY/2yfi4A28r150Dif/rVWKuuyR 0HIdTk3boWHbHLaEKUBgoJV3h2mRTwf2E6uLTwyJl5pc1ehiSy8BCRLHrkGgbTLirk xf/OZahRfZuFG8gvEDLySp4xUxp9c3VkmFhLdRtU= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by sourceware.org (Postfix) with ESMTPS id 767E33858402 for ; Fri, 24 Sep 2021 16:00:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 767E33858402 Received: by mail-pl1-x629.google.com with SMTP id j14so6787635plx.4 for ; Fri, 24 Sep 2021 09:00:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=rCBWs72hPiaLimmgcXeukSLrKHfYCa0Ml53T109ftAg=; b=C83bnk40miLNPCZeSFDAZUn+cIIeTkNpPNUv/ZweledNYbntLvegEX3OUbzxAey9FG vAirAhVhaGScvDH0ZEqoAu+Q2glik0By7LKN6Xg5ApFAOmlXyKoyQ5aWSggu+Ma2YvC4 MIeKHRI+Nfzc1cQp05aaGVcumdt7bNZW4Sp8epGv3ECanRcNN3nrYrshAkekrAq0n8Tp b7QgiJRwThSMBUJk4RLzwyUHwl6iYgY5L1IuholGi4do78xRCBS67MA++u474lWNpkbR 0cDcBpFn4O9nr8GOEB2dmW6dGVxQPj/41cRj1kpynoYXBoT/iC7UoZXNennw+TOWXS3i pIug== X-Gm-Message-State: AOAM530hPsGlu7MwRDTVWjWTho81nZ6YvAdTDOWCIDVdr+NUNSlSwe49 zgvGbOVbye6P8Jb5BYE4jveKRG3sFgE= X-Google-Smtp-Source: ABdhPJwWdSBySqttcy2Y+rrCZcNZ2hqXr4wUsahW0oEcjhXD+Zt9P3JdphTZ+5rohvsd9rAds8mm6g== X-Received: by 2002:a17:90b:4ac3:: with SMTP id mh3mr3093147pjb.29.1632499226454; Fri, 24 Sep 2021 09:00:26 -0700 (PDT) Received: from gnu-gram-1.localdomain (2603-800c-230f-d241-0000-0000-0000-112a.res6.spectrum.com. [2603:800c:230f:d241::112a]) by smtp.gmail.com with ESMTPSA id o5sm12389178pjg.40.2021.09.24.09.00.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Sep 2021 09:00:25 -0700 (PDT) Received: from gnu-gram-1.localdomain (localhost [IPv6:::1]) by gnu-gram-1.localdomain (Postfix) with ESMTP id D2FFFE0072 for ; Fri, 24 Sep 2021 09:00:23 -0700 (PDT) To: libc-alpha@sourceware.org Subject: [PATCH] Avoid Makefile:1918: warning: overriding recipe for ...tst-ro-dynamic-mod.so Date: Fri, 24 Sep 2021 09:00:16 -0700 Message-Id: <20210924160016.2324869-1-hjl.tools@gmail.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-Spam-Status: No, score=-3032.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: "H.J. Lu via Libc-alpha" From: "H.J. Lu" Reply-To: "H.J. Lu" Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libc-alpha" Add tst-ro-dynamic-mod to modules-names-nobuild to avoid ../Makerules:767: warning: ignoring old recipe for target '.../elf/tst-ro-dynamic-mod.so' This updates BZ #28340 fix. --- elf/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/elf/Makefile b/elf/Makefile index 0cdccaacb3..26986c0692 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -402,8 +402,9 @@ endif modules-execstack-yes = tst-execstack-mod extra-test-objs += $(addsuffix .os,$(strip $(modules-names))) -# filtmod1.so, tst-big-note-lib.so have special rules. -modules-names-nobuild := filtmod1 tst-big-note-lib +# filtmod1.so, tst-big-note-lib.so, tst-ro-dynamic-mod.so have special +# rules. +modules-names-nobuild := filtmod1 tst-big-note-lib tst-ro-dynamic-mod tests += $(tests-static)