lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master b2160aeb 01/11: Expunge $(actually_used_lmi_s


From: Greg Chicares
Subject: [lmi-commits] [lmi] master b2160aeb 01/11: Expunge $(actually_used_lmi_so_attributes)
Date: Mon, 27 Jun 2022 19:56:07 -0400 (EDT)

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

    Expunge $(actually_used_lmi_so_attributes)
---
 compiler_gcc.make | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/compiler_gcc.make b/compiler_gcc.make
index 734fa6c1..441a6040 100644
--- a/compiler_gcc.make
+++ b/compiler_gcc.make
@@ -630,7 +630,6 @@ ifneq (,$(USE_SO_ATTRIBUTES))
   ifeq (mingw32,$(findstring mingw32,$(LMI_TRIPLET)))
     LDFLAGS += -Wl,--disable-auto-import -static-libstdc++
   endif
-  actually_used_lmi_so_attributes = -DLMI_USE_SO_ATTRIBUTES 
$(lmi_so_attributes)
 endif
 
 # C preprocessor flags.
@@ -644,12 +643,15 @@ REQUIRED_CPPFLAGS = \
   $(addprefix -I , $(lmi_include_directories)) \
   $(addprefix -isystem , $(sys_include_directories)) \
   $(lmi_wx_new_so_attributes) \
-  $(actually_used_lmi_so_attributes) \
   $(platform_defines) \
   $(libstdcxx_warning_macros) \
   $(wx_predefinitions) \
   -D_FILE_OFFSET_BITS=64 \
 
+ifneq (,$(USE_SO_ATTRIBUTES))
+  REQUIRED_CPPFLAGS += -DLMI_USE_SO_ATTRIBUTES $(lmi_so_attributes)
+endif
+
 # C compiler flags.
 
 REQUIRED_CFLAGS = \



reply via email to

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