lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master a68f8519 03/11: Transplant $REQUIRED_CPPFLAGS


From: Greg Chicares
Subject: [lmi-commits] [lmi] master a68f8519 03/11: Transplant $REQUIRED_CPPFLAGS
Date: Mon, 27 Jun 2022 19:56:08 -0400 (EDT)

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

    Transplant $REQUIRED_CPPFLAGS
---
 compiler_gcc.make | 54 +++++++++++++++++++++++++++---------------------------
 1 file changed, 27 insertions(+), 27 deletions(-)

diff --git a/compiler_gcc.make b/compiler_gcc.make
index 0492d88f..18cf1868 100644
--- a/compiler_gcc.make
+++ b/compiler_gcc.make
@@ -68,6 +68,33 @@ endif
 # /\w*EXTRA_/ variables such as $(EXTRA_LDFLAGS) are set by other
 # makefiles, and used here without modification.
 
+# C preprocessor flags.
+#
+# wx sets _FILE_OFFSET_BITS to 64; this definition is explicitly
+# repeated below to make assurance doubly sure--see:
+#   https://lists.nongnu.org/archive/html/lmi/2019-03/msg00039.html
+# et seq.
+
+REQUIRED_CPPFLAGS = \
+  $(addprefix -I , $(lmi_include_directories)) \
+  $(addprefix -isystem , $(sys_include_directories)) \
+  $(lmi_wx_new_so_attributes) \
+  $(platform_defines) \
+  $(wx_predefinitions) \
+  -D_FILE_OFFSET_BITS=64 \
+
+ifneq (,$(USE_SO_ATTRIBUTES))
+  REQUIRED_CPPFLAGS += -DLMI_USE_SO_ATTRIBUTES $(lmi_so_attributes)
+endif
+
+ifeq (safestdlib,$(build_type))
+  REQUIRED_CPPFLAGS += \
+    -D_GLIBCXX_DEBUG \
+    -D_GLIBCXX_DEBUG_PEDANTIC \
+    -D_GLIBCXX_SANITIZE_VECTOR \
+
+endif
+
 # Compiler version.
 
 # $(subst): workaround for debian, whose MinGW-w64 identifies its
@@ -626,33 +653,6 @@ ifneq (,$(USE_SO_ATTRIBUTES))
   endif
 endif
 
-# C preprocessor flags.
-#
-# wx sets _FILE_OFFSET_BITS to 64; this definition is explicitly
-# repeated below to make assurance doubly sure--see:
-#   https://lists.nongnu.org/archive/html/lmi/2019-03/msg00039.html
-# et seq.
-
-REQUIRED_CPPFLAGS = \
-  $(addprefix -I , $(lmi_include_directories)) \
-  $(addprefix -isystem , $(sys_include_directories)) \
-  $(lmi_wx_new_so_attributes) \
-  $(platform_defines) \
-  $(wx_predefinitions) \
-  -D_FILE_OFFSET_BITS=64 \
-
-ifneq (,$(USE_SO_ATTRIBUTES))
-  REQUIRED_CPPFLAGS += -DLMI_USE_SO_ATTRIBUTES $(lmi_so_attributes)
-endif
-
-ifeq (safestdlib,$(build_type))
-  REQUIRED_CPPFLAGS += \
-    -D_GLIBCXX_DEBUG \
-    -D_GLIBCXX_DEBUG_PEDANTIC \
-    -D_GLIBCXX_SANITIZE_VECTOR \
-
-endif
-
 # C compiler flags.
 
 REQUIRED_CFLAGS = \



reply via email to

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