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: =?utf-8?q?Martin_Storsj=C3=B6?= X-Patchwork-Id: 1464304 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=gcc-patches-bounces@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=martin-st.20150623.gappssmtp.com header.i=@martin-st.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=jmoyUOho; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FGxDm1tTQz9sW1 for ; Fri, 9 Apr 2021 21:46:46 +1000 (AEST) 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-Google-Smtp-Source: ABdhPJwonOd3pYFxn9eyJykE/IfqgupdZrliWzYKEPHUdSRd62VbadqizMetP6c44DQ3n13IuFhHRQ== 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(+) 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