From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot1-x341.google.com (mail-ot1-x341.google.com [IPv6:2607:f8b0:4864:20::341]) by sourceware.org (Postfix) with ESMTPS id 9725D389701A for ; Tue, 27 Oct 2020 15:25:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 9725D389701A Received: by mail-ot1-x341.google.com with SMTP id b2so1461236ots.5 for ; Tue, 27 Oct 2020 08:25:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=d9I51t+uSthwcaeSRhjrk/03CAtWCkZ6hg1y0e3UJDI=; b=aUZE800JDIWKXUh2wkF1JKthfwz3u7329Zh/IotwFf9FOvVFgsUPXUQ/hrX36yJP77 IBs5TrfbyeilmzyjTJVaa0f+P1Swbjme43VHzqhpyOVHZTfGCEeFGs5gj3EKeoZL2SWN tKhc5U4YzluQ4EXXjts62lNVHeV7HnaD4ZmTUxWyf8d4/P9Awu9glCkmOUvWAbC+sdpp sBQnh/JsgqqGOqo43w5LJ/RyIGineMWcBKxiX3csvNc51tWe3oWnMOJ4J+8wfqE4Q2OP nN8Hp6DN60hFtfcArhAcnAHcVnW8Z5JG8u1kOmevD8U3eQzPk3HAxZFI4VWzB63CZJA/ 4Erg== X-Gm-Message-State: AOAM5325Mr0NZ9ZTSh//5JduyHvTE1kic8FEGCLmOK8xK5utZQEkVuaT WwYiMj51mbCrtxRYI+Mav+UJsnM+wkpIZ70mendSj9uVtgo= X-Google-Smtp-Source: ABdhPJxZWAKslT0G6JMrX5pfgTftu1cZ0nkiMwO7nQExcMUqVIg+jjImfhV3cgU8hV1iMajixZzdoFuSSk4wd87mEyk= X-Received: by 2002:a9d:4703:: with SMTP id a3mr1888526otf.179.1603812338053; Tue, 27 Oct 2020 08:25:38 -0700 (PDT) MIME-Version: 1.0 References: <20201027110235.4137393-1-hjl.tools@gmail.com> <87sg9zbt0m.fsf@igel.home> In-Reply-To: <87sg9zbt0m.fsf@igel.home> From: "H.J. Lu" Date: Tue, 27 Oct 2020 08:25:01 -0700 Message-ID: Subject: Re: [PATCH] Implement a workaround for GNU mak jobserver To: Andreas Schwab Cc: "H.J. Lu via Binutils" Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-3030.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Oct 2020 15:25:39 -0000 On Tue, Oct 27, 2020 at 8:14 AM Andreas Schwab wrote: > > On Okt 27 2020, H.J. Lu via Binutils wrote: > > > +touch --reference=Makefile Makefile.tmp \ > > This is not portable. > Since it must keep the same timestamps on config.status and Makefile, I used if touch --reference=config.status config.status.tmp > /dev/null 2>&1; then sed '/as_fn_exit 0/i \ sed -e \"s/^\t\\\(\\\$(AM_V_CCLD)\\\)/\t+ \\\1/\" Makefile > Makefile.tmp \ touch --reference=Makefile Makefile.tmp \ If touch doesn't support --reference, the workaround isn't applied. -- H.J.