lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master d2dd934 5/5: Expunge $(REQUIRED_LIBS) [275]


From: Greg Chicares
Subject: [lmi-commits] [lmi] master d2dd934 5/5: Expunge $(REQUIRED_LIBS) [275]
Date: Thu, 30 Sep 2021 20:43:51 -0400 (EDT)

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

    Expunge $(REQUIRED_LIBS) [275]
---
 como.make      |  3 +--
 workhorse.make | 22 ----------------------
 2 files changed, 1 insertion(+), 24 deletions(-)

diff --git a/como.make b/como.make
index 6b8fe26..a024a58 100644
--- a/como.make
+++ b/como.make
@@ -177,7 +177,7 @@ LDFLAGS :=
 # are changed here to doubled backslashes. SOMEDAY !! A 'como_ld'
 # program could accept gcc syntax.
 
-REQUIRED_LIBS := \
+LDFLAGS := \
   \\opt/lmi/local/lib/libexslt.dll.a \
   \\opt/lmi/local/lib/libxslt.dll.a \
   \\opt/lmi/local/lib/libxml2.dll.a \
@@ -236,7 +236,6 @@ CXX := \
                                   CXXFLAGS='$(CXXFLAGS)' \
                                         LD='$(LD)' \
                                    LDFLAGS='$(LDFLAGS)' \
-                             REQUIRED_LIBS='$(REQUIRED_LIBS)' \
                           platform_defines='' \
                 excluded_unit_test_targets='$(excluded_unit_test_targets)' \
                                    GNU_CPP='$(GNU_CPP)' \
diff --git a/workhorse.make b/workhorse.make
index bccbecc..c9e2a2e 100644
--- a/workhorse.make
+++ b/workhorse.make
@@ -755,26 +755,6 @@ $(product_file_sources): tutelary_flag += 
$(product_file_flags)
 
 
################################################################################
 
-# Libraries and associated options.
-#
-# The link command promiscuously mentions libxml2 for all targets.
-# Measurements show that this costs one-tenth of a second on
-# reasonable hardware, and it saves the trouble of maintaining a list
-# of which targets require which libraries.
-#
-# TODO ?? Consider refining it anyway, because it's unclean: libxml2
-# isn't actually required for all targets.
-#
-# Rationale for freezing particular versions of third-party libraries:
-# see topic:
-#   "How can the Boost libraries be used successfully for important projects?"
-# in this faq:
-#   http://boost.org/more/faq.htm
-
-REQUIRED_LIBS := \
-
-################################################################################
-
 # Flags.
 
 # Define uppercase FLAGS recursively for greater flexibility: e.g., so
@@ -920,7 +900,6 @@ EXTRA_LDFLAGS :=
 REQUIRED_LDFLAGS = \
   $(addprefix -L , $(all_library_directories)) \
   $(EXTRA_LDFLAGS) \
-  $(REQUIRED_LIBS) \
   $(EXTRA_LIBS) \
 
 # The '--use-temp-file' windres option seems to be often helpful and
@@ -1643,7 +1622,6 @@ show_flags:
        @printf 'ALL_ARFLAGS             = "%s"\n' "$(ALL_ARFLAGS)"
        @printf 'REQUIRED_LDFLAGS        = "%s"\n' "$(REQUIRED_LDFLAGS)"
        @printf 'EXTRA_LDFLAGS           = "%s"\n' "$(EXTRA_LDFLAGS)"
-       @printf 'REQUIRED_LIBS           = "%s"\n' "$(REQUIRED_LIBS)"
        @printf 'EXTRA_LIBS              = "%s"\n' "$(EXTRA_LIBS)"
        @printf 'ALL_LDFLAGS             = "%s"\n' "$(ALL_LDFLAGS)"
        @printf 'ALL_RCFLAGS             = "%s"\n' "$(ALL_RCFLAGS)"



reply via email to

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