[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master acfa77b0 08/17: Simplify
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master acfa77b0 08/17: Simplify |
Date: |
Sat, 2 Jul 2022 21:42:14 -0400 (EDT) |
branch: master
commit acfa77b0556d88da8e47d9de24d3fda5b1a561a4
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Simplify
The code to decide whether '-fomit-frame-pointer' must be used with
MinGW-w64 is too complicated and confusing. Because ".0" is appended
to $(gcc_version), it can never match "10" exactly.
The debian-testing ("bookworm") MinGW-w64 gcc version is still 10.0.0
after all this time, and there's no newer version in "sid" today. It
seems unlikely ever to match 10.2.1 exactly: e.g., it may advance to
10.4 in a single jump.
Thus, expunged the innermost condition: it's unlikely ever to be
helpful, and it's confusing.
---
compiler_gcc.make | 3 ---
1 file changed, 3 deletions(-)
diff --git a/compiler_gcc.make b/compiler_gcc.make
index 00887078..1a1b78ae 100644
--- a/compiler_gcc.make
+++ b/compiler_gcc.make
@@ -117,9 +117,6 @@ ifneq (,$(filter $(gcc_version), 10 10.0))
# Fixed in gcc-10.2.1, but this makefile doesn't detect the last
# component of major.minor.patchlevel reliably.
tutelary_flag := -fomit-frame-pointer
- ifneq (,$(filter $(gcc_version), 10 10.2.1))
- tutelary_flag := -fno-omit-frame-pointer
- endif
endif
endif
- [lmi-commits] [lmi] master updated (61ff010d -> ec379f81), Greg Chicares, 2022/07/02
- [lmi-commits] [lmi] master 4d58421b 05/17: Increase concinnity, Greg Chicares, 2022/07/02
- [lmi-commits] [lmi] master 8429817f 04/17: Increase concinnity, Greg Chicares, 2022/07/02
- [lmi-commits] [lmi] master 1018709f 07/17: Move a warning option to its proper place, Greg Chicares, 2022/07/02
- [lmi-commits] [lmi] master f708d833 12/17: Override flags for product files more appropriately, Greg Chicares, 2022/07/02
- [lmi-commits] [lmi] master acfa77b0 08/17: Simplify,
Greg Chicares <=
- [lmi-commits] [lmi] master 6896ec57 03/17: Explain uniformly why pointer-{compare, subtract} aren't used, Greg Chicares, 2022/07/02
- [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