lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 620bcee6 10/11: Refactor in anticipation of t


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 620bcee6 10/11: Refactor in anticipation of transplantation
Date: Mon, 27 Jun 2022 19:56:08 -0400 (EDT)

branch: master
commit 620bcee661682f9123c6a1dd5d04d882f86da9d6
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Refactor in anticipation of transplantation
    
    Make the identification of runtime files independent of $(CXX) so that
    it can be moved elsewhere. See:
      https://lists.nongnu.org/archive/html/lmi/2022-06/msg00073.html
    for the problem to be solved.
---
 compiler_gcc.make | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/compiler_gcc.make b/compiler_gcc.make
index 43f2f34d..293f0ed7 100644
--- a/compiler_gcc.make
+++ b/compiler_gcc.make
@@ -52,7 +52,7 @@ GNU_CXX := $(CXX)
 
 
################################################################################
 
-# Identify run-time libraries for redistribution. See:
+# Identify msw run-time libraries for redistribution. See:
 #   https://lists.nongnu.org/archive/html/lmi/2017-05/msg00046.html
 # Perhaps gcc's '-print-sysroot' would be more suitable, but that
 # option returns an empty string with debian cross compilers.
@@ -64,7 +64,7 @@ GNU_CXX := $(CXX)
 # future debian releases, much less on other OSs.
 
 ifeq (mingw32,$(findstring mingw32,$(LMI_TRIPLET)))
-compiler_sysroot := $(dir $(shell $(CXX) -print-libgcc-file-name))
+compiler_sysroot := $(dir $(shell $(gcc_proclitic)g++ -print-libgcc-file-name))
 
 compiler_runtime_files := \
   $(wildcard $(compiler_sysroot)/libgcc*.dll) \



reply via email to

[Prev in Thread] Current Thread [Next in Thread]