[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) \
- [lmi-commits] [lmi] master updated (fd6587af -> ceb0ac3b), Greg Chicares, 2022/06/27
- [lmi-commits] [lmi] master c63aa42b 07/11: Refactor, Greg Chicares, 2022/06/27
- [lmi-commits] [lmi] master b2160aeb 01/11: Expunge $(actually_used_lmi_so_attributes), Greg Chicares, 2022/06/27
- [lmi-commits] [lmi] master a68f8519 03/11: Transplant $REQUIRED_CPPFLAGS, Greg Chicares, 2022/06/27
- [lmi-commits] [lmi] master 76ac1bab 09/11: Transplant a definition, Greg Chicares, 2022/06/27
- [lmi-commits] [lmi] master ceb0ac3b 11/11: Fix defect introduced 20220623T2020Z: required information hidden, Greg Chicares, 2022/06/27
- [lmi-commits] [lmi] master 63460397 04/11: Expunge useless history, Greg Chicares, 2022/06/27
- [lmi-commits] [lmi] master 3bb0968b 02/11: Expunge two more needless local variables, Greg Chicares, 2022/06/27
- [lmi-commits] [lmi] master 0771a1bb 05/11: Don't accept obsolete compiler versions, Greg Chicares, 2022/06/27
- [lmi-commits] [lmi] master 67455db4 06/11: Expunge obsolete history, Greg Chicares, 2022/06/27
- [lmi-commits] [lmi] master 620bcee6 10/11: Refactor in anticipation of transplantation,
Greg Chicares <=
- [lmi-commits] [lmi] master d8ac666a 08/11: Generally avoid remaking makefiles, Greg Chicares, 2022/06/27