From af8efd8004572270d8fbdf4e02b5445ba971c8b7 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Wed, 31 Jul 2024 22:45:12 -0500 Subject: [PATCH] Cleanup: Build settings and fakefile mode related settings and documentation. --- data/build/fakefile | 2 +- data/build/settings | 5 +++-- data/build/settings.controller | 5 +++-- data/build/settings.init | 3 ++- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/data/build/fakefile b/data/build/fakefile index 86d90b7..6e9a2d1 100644 --- a/data/build/fakefile +++ b/data/build/fakefile @@ -2,7 +2,7 @@ settings: fail exit - modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadlesss + modes individual individual_thread level monolithic clang gcc gcc_13 test fanalyzer coverage thread threadless environment PATH LD_LIBRARY_PATH environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH diff --git a/data/build/settings b/data/build/settings index d5510a9..ae1e251 100644 --- a/data/build/settings +++ b/data/build/settings @@ -7,6 +7,7 @@ # - monolithic: Compile using per monolithic libraries. # - clang: Use CLang rather than the default, which is generally GCC. # - gcc: Use GCC specific settings. +# - gcc_13: Use gcc version 13 or greater specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -22,7 +23,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc gcc_13 test fanalyzer coverage thread threadless modes_default monolithic thread gcc build_compiler gcc @@ -114,8 +115,8 @@ environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY L #defines -D_di_libcap_ defines -D_libcap_legacy_only_ -defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags -fstack-clash-protection -fno-delete-null-pointer-checks diff --git a/data/build/settings.controller b/data/build/settings.controller index 3a38c0b..9f3519a 100644 --- a/data/build/settings.controller +++ b/data/build/settings.controller @@ -7,6 +7,7 @@ # - monolithic: Compile using per monolithic libraries. # - clang: Use CLang rather than the default, which is generally GCC. # - gcc: Use GCC specific settings. +# - gcc_13: Use gcc version 13 or greater specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -22,7 +23,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc gcc_13 test fanalyzer coverage thread threadless modes_default monolithic thread gcc build_compiler gcc @@ -76,8 +77,8 @@ environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY L #defines -D_di_libcap_ defines -D_libcap_legacy_only_ -defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ defines-threadless -D_di_thread_support_ +defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags -fstack-clash-protection -fno-delete-null-pointer-checks diff --git a/data/build/settings.init b/data/build/settings.init index 022e4cc..2267919 100644 --- a/data/build/settings.init +++ b/data/build/settings.init @@ -7,6 +7,7 @@ # - monolithic: Compile using per monolithic libraries. # - clang: Use CLang rather than the default, which is generally GCC. # - gcc: Use GCC specific settings. +# - gcc_13: Use gcc version 13 or greater specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -22,7 +23,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc gcc_13 test fanalyzer coverage thread threadless modes_default monolithic thread gcc build_compiler gcc -- 1.8.3.1