[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master a3571e5d 4/9: Remove a dependency on an ancie
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master a3571e5d 4/9: Remove a dependency on an ancient gcc version |
Date: |
Tue, 28 Jun 2022 22:26:46 -0400 (EDT) |
branch: master
commit a3571e5dfa7b6ac15567f3fbcaa2cea9c8e7219e
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Remove a dependency on an ancient gcc version
Expunged code that supported a long-obsolete gcc version, but kept
and updated the accompanying comments, which remain of interest.
---
compiler_gcc.make | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/compiler_gcc.make b/compiler_gcc.make
index cf7ed563..ed367dc2 100644
--- a/compiler_gcc.make
+++ b/compiler_gcc.make
@@ -525,14 +525,13 @@ ifeq (x86_64-pc-linux-gnu,$(LMI_TRIPLET))
LDFLAGS += -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -Wl,-z,separate-code
endif
-# Explicitly disable the infelicitous auto-import default. See:
-# http://article.gmane.org/gmane.comp.gnu.mingw.user/19758
-# [2006-05-18T11:38:01Z from Earnie Boyd]
-# Do not disable it for MinGW-w64, which seems to require it.
-
-ifeq (3.4.5,$(gcc_version))
- LDFLAGS += -Wl,--disable-auto-import
-endif
+# By infelicitous default, MinGW enables auto-import. See, e.g.:
+# https://sourceforge.net/p/mingw/mailman/message/16354653/
+# Disabling it globally, thus:
+# LDFLAGS += -Wl,--disable-auto-import
+# worked with mingw.org's gcc, but the more recent MinGW-w64
+# versions seem to require it unless $(USE_SO_ATTRIBUTES) is
+# defined.
ifneq (,$(USE_SO_ATTRIBUTES))
ifeq (mingw32,$(findstring mingw32,$(LMI_TRIPLET)))
- [lmi-commits] [lmi] master updated (ceb0ac3b -> 01aa1fd4), Greg Chicares, 2022/06/28
- [lmi-commits] [lmi] master 984ccf07 3/9: Expunge useless history, Greg Chicares, 2022/06/28
- [lmi-commits] [lmi] master a3571e5d 4/9: Remove a dependency on an ancient gcc version,
Greg Chicares <=
- [lmi-commits] [lmi] master d20268b2 5/9: Remove another dependency on an ancient gcc version, Greg Chicares, 2022/06/28
- [lmi-commits] [lmi] master 2f9d615f 8/9: Move a definition, Greg Chicares, 2022/06/28
- [lmi-commits] [lmi] master 9f2184d3 1/9: Record some handy commands, Greg Chicares, 2022/06/28
- [lmi-commits] [lmi] master 7947ec4e 2/9: Distinguish dialect options from warnings, Greg Chicares, 2022/06/28
- [lmi-commits] [lmi] master 01aa1fd4 9/9: Factor out gcc warnings, Greg Chicares, 2022/06/28
- [lmi-commits] [lmi] master be9c647f 6/9: Prepare for more transplantation, Greg Chicares, 2022/06/28
- [lmi-commits] [lmi] master 0e74982c 7/9: Transplant ascertainment of compiler version, Greg Chicares, 2022/06/28