[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 1368400b 15/17: Deactivate old workarounds fo
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 1368400b 15/17: Deactivate old workarounds for product-file generation |
Date: |
Sat, 2 Jul 2022 21:42:15 -0400 (EDT) |
branch: master
commit 1368400b6fb91a280ad35482987ef76ffa4f10a0
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Deactivate old workarounds for product-file generation
---
compiler_gcc.make | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)
diff --git a/compiler_gcc.make b/compiler_gcc.make
index 09413e28..4cfab8bd 100644
--- a/compiler_gcc.make
+++ b/compiler_gcc.make
@@ -128,6 +128,11 @@ else
optimization_flag := -O2 -fno-omit-frame-pointer
endif
+# Historical workarounds for product-file-generating binaries.
+#
+# These workarounds are no longer necessary as of 2022-07-02. They are
+# retained as comments in case similar problems ever arise again.
+#
# An overriding version of 'my_prod.cpp', which is used to create a
# nondistributable binary, contains so many large strings that, after
# consuming more than one CPU minute and 1 MiB of RAM, MinGW gcc-3.4.5
@@ -152,14 +157,14 @@ endif
# that it's still used even if the '-O' flag is someday changed, even
# though gcc currently documents that any optimization flag other than
# '-O0' implies it.
-
+#
# For simplicity and robustness, the same options are used for all
# 'my_*.cpp' files.
-
-product_file_sources := my_db.o my_fund.o my_prod.o my_rnd.o my_tier.o
-
-$(product_file_sources): debug_flag += -fno-var-tracking-assignments
-$(product_file_sources): optimization_flag += -Os
+#
+# product_file_sources := my_db.o my_fund.o my_prod.o my_rnd.o my_tier.o
+#
+# $(product_file_sources): debug_flag += -fno-var-tracking-assignments
+# $(product_file_sources): optimization_flag += -Os
################################################################################
- [lmi-commits] [lmi] master 05ef210f 01/17: Remove obsolete '.patch' files, (continued)
- [lmi-commits] [lmi] master 05ef210f 01/17: Remove obsolete '.patch' files, Greg Chicares, 2022/07/02
- [lmi-commits] [lmi] master be64abf0 11/17: Establish general compiler flags earlier, Greg Chicares, 2022/07/02
- [lmi-commits] [lmi] master 0e3c2fbb 02/17: Don't let makefiles end in an empty line, Greg Chicares, 2022/07/02
- [lmi-commits] [lmi] master adcaef29 06/17: Establish a framework for clang warnings, Greg Chicares, 2022/07/02
- [lmi-commits] [lmi] master e4abb6e1 14/17: Don't specify nonempty $CFLAGS or $CXXFLAGS, Greg Chicares, 2022/07/02
- [lmi-commits] [lmi] master ec379f81 17/17: Use an updated XRC schema, Greg Chicares, 2022/07/02
- [lmi-commits] [lmi] master 89e37e40 13/17: Resolve a latent makefile issue, Greg Chicares, 2022/07/02
- [lmi-commits] [lmi] master 5971b763 09/17: Use $(tutelary_flag) to work around compiler breakage, Greg Chicares, 2022/07/02
- [lmi-commits] [lmi] master 8ece241a 10/17: Fix defect introduced 20190327T2239Z: incomplete override, Greg Chicares, 2022/07/02
- [lmi-commits] [lmi] master 9a5cf902 16/17: Repeat '-fno-omit-frame-pointer' less often, Greg Chicares, 2022/07/02
- [lmi-commits] [lmi] master 1368400b 15/17: Deactivate old workarounds for product-file generation,
Greg Chicares <=