From patchwork Fri Apr 9 11:46:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Martin Storsjo X-Patchwork-Id: 418169 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp1494800jai; Fri, 9 Apr 2021 04:46:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzpqdmcact2WFQbqmSmICbMCKgI1Sctw8OduFNcnKMz6m/7S99OAwKoEO151ThGKaXat6Mb X-Received: by 2002:a05:6402:280c:: with SMTP id h12mr16653470ede.332.1617968805098; Fri, 09 Apr 2021 04:46:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617968805; cv=none; d=google.com; s=arc-20160816; b=IaPAm6X98XK8nf070bBGXxlm5Px5/6Q+J8LigrFdlVuPTyEUg54yU/Rp4qRPvoeb59 DSwtqZuTMSjuw8EazHC0l8iKYfvXdYdkrSu7D2wNm+b/31t4iazYSZC5aGpfZk+kxw9B XHF1ZPkhdxfF3V1kuiZUWz2Y/zvhkUnKOVVYGe+ZWI0w/5EsyYhRIkuXkrXF4/9OMRKe 6uXqFcJsAH/2NxPsq7+/WZi7myB2UJqYCWb3QVl6lPESCo/TEfMHcq2wCDnWYn6O4OQw jFFXuXQ06q1iLX5mGSwc0rfTkzzNRbpR1/p2yLRVhmAgPMeb+OZnCMCcWGf9W/uSSZ6X N11A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature :dmarc-filter:delivered-to; bh=/JPQ514HPl9jSHUKkvPw4OBNTN/7Yo8bWnWiQZMuOok=; b=mCml4Psw+/UjB4fQc6KDo1vaufwEYpHdjLQn3+VMYTzVZr1AxYAth+p+UQ2qfKNkv8 bDiLrzhZW5l9LeiySs2uDkrwSziEVYwgfsO98nNowFKihibo4XzpJ24KcF12fRH36iJz d3x2AAbQOLqzIbDIdIb28999UM5LeIkCYobs5JuQsocBEUoI7AthsIoXsf+KcRPA57Pi bz5MQZFn/N+cYsBKxtr5sD+QNnUzZMNWOcTNKxDYUCXZDPADh7M6kJ956L57M/AZhbo8 eD2OHxvalcnDtSa7riOfJRu0ve8CrbbW8qJF6tXYCmqF41Jd5CVl3gNZMOzwsPuvHCPk 23kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@martin-st.20150623.gappssmtp.com header.s=20150623 header.b=jmoyUOho; spf=pass (google.com: domain of gcc-patches-bounces@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom=gcc-patches-bounces@gcc.gnu.org Return-Path: Received: from sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id mh16si1903684ejb.733.2021.04.09.04.46.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Apr 2021 04:46:45 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@martin-st.20150623.gappssmtp.com header.s=20150623 header.b=jmoyUOho; spf=pass (google.com: domain of gcc-patches-bounces@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom=gcc-patches-bounces@gcc.gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E96E3398B43F; Fri, 9 Apr 2021 11:46:42 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by sourceware.org (Postfix) with ESMTPS id 90F09398B42E for ; Fri, 9 Apr 2021 11:46:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 90F09398B42E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=martin.st Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=martin@martin.st Received: by mail-lf1-x132.google.com with SMTP id b4so9223622lfi.6 for ; Fri, 09 Apr 2021 04:46:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=martin-st.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=/JPQ514HPl9jSHUKkvPw4OBNTN/7Yo8bWnWiQZMuOok=; b=jmoyUOhomn7cZqX1wducLr+8RWVhnR0jcZSPdzhR3p/QNOEUhA5DR03Izw+wtdxynM ShKVa2mDpDLKACHaI+189gHvT99Z2lG/Zh9r4ME3HqFN0AzTe1Sh9uiVDmVh/N7sZ9Ef 56q8RDMGtNqGIPO+mUz9qYw7f/xrGjhtvv4a81DSqAtW3Hju7HihBlvdHB+fndcp/5Ib MXjQG7PVvTH6KVoxYS0QHEMsAVGPa76iBgVpIx3vmRqjPO0fSTD4E7yJ554DWbLZlUvJ 7NPkMWIDageZk36zw3rMqQ2w5BUi+RENXLKeWKTcMjjhiipch/UbAj1yvzsz8CkGi7Fj d3sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=/JPQ514HPl9jSHUKkvPw4OBNTN/7Yo8bWnWiQZMuOok=; b=MUpQThXrLmeASTDqvvuwO5IzQIpti+YgEmK4jiKDBZxQ7qmbxDhpJk5RWvdn5ozdsn W6qjGlFu4dL2KVJMD+7SMBmJZeh5X016BaTOO5tWe3vya36JF4H8Yo+BuwhziZ0R44AY s7TFDreeomXQPa2j0NY1M8V4XPn+TVoqkRkdzYEx2KylUN0n6ZEuUDFNurSJRyFT4zmW mbZxLyexAqVLhdHTcXXGD/Pbgg1yLRyU44uh7SwHM8i0ETmLsopCjgPbaKCsdfCnAW6i axhnrdhBBLnIy/gnPQu3OJuwfFwocPxVnfM7t0Wjq9jHE8ZlqVSEb4r27QaEXfBFDWRr RYWA== X-Gm-Message-State: AOAM531r+ZiZvNOG4CcDNLfQoyKaq9lPKU/zoFuCH8xwPl9bWoDHMa68 SctyF1qntjef3j32dLAbI1jEjllN3TQ1ADQn X-Received: by 2002:a19:ac4a:: with SMTP id r10mr10311835lfc.468.1617968798245; Fri, 09 Apr 2021 04:46:38 -0700 (PDT) Received: from localhost.localdomain (dsl-tkubng21-58c01c-243.dhcp.inet.fi. [88.192.28.243]) by smtp.gmail.com with ESMTPSA id 3sm245079lfy.238.2021.04.09.04.46.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Apr 2021 04:46:37 -0700 (PDT) From: =?utf-8?q?Martin_Storsj=C3=B6?= To: gcc-patches@gcc.gnu.org Subject: [PATCH] mh-mingw: Set __USE_MINGW_ACCESS in missed C++ flags variables Date: Fri, 9 Apr 2021 14:46:36 +0300 Message-Id: <20210409114636.2628253-1-martin@martin.st> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Spam-Status: No, score=-13.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, JMQ_SPF_NEUTRAL, 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: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces@gcc.gnu.org Sender: "Gcc-patches" This is similar to what was done in eea4e2ff0a3f5e7f37df204c070cc5d9ef339e6e (where it was added to STAGE*_CXXFLAGS), but this adds the flag to the CXXFLAGS and BOOT_CXXFLAGS variables too (as it's already added to CFLAGS and BOOT_CFLAGS). 2021-04-09 Martin Storsjö config/ChangeLog: * mh-mingw: Set __USE_MINGW_ACCESS in missed C++ flags variables --- config/mh-mingw | 2 ++ 1 file changed, 2 insertions(+) -- 2.25.1 diff --git a/config/mh-mingw b/config/mh-mingw index a795096f038..e91367a7112 100644 --- a/config/mh-mingw +++ b/config/mh-mingw @@ -1,7 +1,9 @@ # Add -D__USE_MINGW_ACCESS to enable the built compiler to work on Windows # Vista (see PR33281 for details). BOOT_CFLAGS += -D__USE_MINGW_ACCESS -Wno-pedantic-ms-format +BOOT_CXXFLAGS += -D__USE_MINGW_ACCESS -Wno-pedantic-ms-format CFLAGS += -D__USE_MINGW_ACCESS +CXXFLAGS += -D__USE_MINGW_ACCESS STAGE1_CXXFLAGS += -D__USE_MINGW_ACCESS STAGE2_CXXFLAGS += -D__USE_MINGW_ACCESS STAGE3_CXXFLAGS += -D__USE_MINGW_ACCESS