[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 = \
- [lmi-commits] [lmi] master updated (fd6587af -> ceb0ac3b), Greg Chicares, 2022/06/27
- [lmi-commits] [lmi] master c63aa42b 07/11: Refactor, Greg Chicares, 2022/06/27
- [lmi-commits] [lmi] master b2160aeb 01/11: Expunge $(actually_used_lmi_so_attributes), Greg Chicares, 2022/06/27
- [lmi-commits] [lmi] master a68f8519 03/11: Transplant $REQUIRED_CPPFLAGS,
Greg Chicares <=
- [lmi-commits] [lmi] master 76ac1bab 09/11: Transplant a definition, Greg Chicares, 2022/06/27
- [lmi-commits] [lmi] master ceb0ac3b 11/11: Fix defect introduced 20220623T2020Z: required information hidden, Greg Chicares, 2022/06/27
- [lmi-commits] [lmi] master 63460397 04/11: Expunge useless history, Greg Chicares, 2022/06/27
- [lmi-commits] [lmi] master 3bb0968b 02/11: Expunge two more needless local variables, Greg Chicares, 2022/06/27
- [lmi-commits] [lmi] master 0771a1bb 05/11: Don't accept obsolete compiler versions, Greg Chicares, 2022/06/27
- [lmi-commits] [lmi] master 67455db4 06/11: Expunge obsolete history, Greg Chicares, 2022/06/27
- [lmi-commits] [lmi] master 620bcee6 10/11: Refactor in anticipation of transplantation, Greg Chicares, 2022/06/27
- [lmi-commits] [lmi] master d8ac666a 08/11: Generally avoid remaking makefiles, Greg Chicares, 2022/06/27