[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 89e37e40 13/17: Resolve a latent makefile iss
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 89e37e40 13/17: Resolve a latent makefile issue |
Date: |
Sat, 2 Jul 2022 21:42:15 -0400 (EDT) |
branch: master
commit 89e37e40923f69a9cf03f4bce5766b4c1af5c7cb
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Resolve a latent makefile issue
A recently-added target-specific value of $(debug_flag) failed to
propagate through immediately-expanded variables. See:
https://lists.nongnu.org/archive/html/lmi/2022-07/msg00005.html
Changed the expansion of the higher-level variables to recursive.
The issue is only latent because everything "works" without this
revision. The reason is that the '-fno-var-tracking-assignments'
option that was required with gcc-3.4.5 is no longer necessary.
---
compiler_clang.make | 4 ++--
compiler_gcc.make | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/compiler_clang.make b/compiler_clang.make
index df6aa3be..6154adca 100644
--- a/compiler_clang.make
+++ b/compiler_clang.make
@@ -119,7 +119,7 @@ endif
# are "not required for proper compilation", but lmi supports
# multiple build types that transcend that "proper" notion.
-c_l_flags := $(debug_flag) $(analyzer_flag)
+c_l_flags = $(debug_flag) $(analyzer_flag)
ifeq (x86_64-pc-linux-gnu,$(LMI_TRIPLET))
c_l_flags += -fPIC
@@ -130,7 +130,7 @@ endif
# clang-14.0.5-1 doesn't need all this rigmarole--see:
# https://lists.nongnu.org/archive/html/lmi/2022-06/msg00072.html
-REQUIRED_COMPILER_FLAGS := \
+REQUIRED_COMPILER_FLAGS = \
$(c_l_flags) \
-Woverriding-t-option \
-ffp-model=strict \
diff --git a/compiler_gcc.make b/compiler_gcc.make
index 976f9d07..946760b1 100644
--- a/compiler_gcc.make
+++ b/compiler_gcc.make
@@ -182,7 +182,7 @@ $(product_file_sources): optimization_flag += -Os
# are "not required for proper compilation", but lmi supports
# multiple build types that transcend that "proper" notion.
-c_l_flags := $(debug_flag) $(analyzer_flag)
+c_l_flags = $(debug_flag) $(analyzer_flag)
ifeq (x86_64-pc-linux-gnu,$(LMI_TRIPLET))
c_l_flags += -fPIC
@@ -205,7 +205,7 @@ endif
# which causes harm while bringing no countervailing benefit--see:
# https://lists.nongnu.org/archive/html/lmi/2017-08/msg00045.html
-REQUIRED_COMPILER_FLAGS := \
+REQUIRED_COMPILER_FLAGS = \
$(c_l_flags) \
-frounding-math \
-fsignaling-nans \
- [lmi-commits] [lmi] master 1018709f 07/17: Move a warning option to its proper place, (continued)
- [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, 2022/07/02
- [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 <=
- [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, 2022/07/02