]> Kevux Git Server - control/commitdiff
Refactor: Build mode gcc_13 to flex_arrays to provide a more generic name.
authorKevin Day <Kevin@kevux.org>
Wed, 10 Dec 2025 04:25:13 +0000 (22:25 -0600)
committerKevin Day <Kevin@kevux.org>
Wed, 10 Dec 2025 04:25:13 +0000 (22:25 -0600)
The `gcc_13` was a temporary mode and I don't want to have version specific modes.
Replace the mode witha more long term version unspecific name `flex_arrays`.

data/build/fakefile
data/build/settings
data/build/settings.control
data/build/stand_alone/fakefile
data/build/stand_alone/settings.control

index 437429b4586e7bf5d70c09ac243437d7f3c74632..ef25281d073c5fee84549107c31eb9937c6966a7 100644 (file)
@@ -2,7 +2,7 @@
 
 settings:
   fail exit
-  modes individual individual_thread level monolithic clang coverage fanalyzer gcc gcc_13 test thread threadless
+  modes android clang coverage debug fanalyzer flex_arrays gcc individual individual_thread level monolithic test 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
index e26044917f7a755c99a863ec4e0825ccc2791068..87dcb26ed9ad6708b259938f7159d7ab1534abe9 100644 (file)
@@ -6,8 +6,8 @@
 #   - coverage:          Compile for building coverage.
 #   - debug:             Enable debugging, such as compile time debug options.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - flex_arrays:       Use GCC strict flex arrays (supported by GCC version 13 or greater).
 #   - gcc:               Use GCC specific settings.
-#   - gcc_13:            Use GCC version 13 or greater specific settings.
 #   - individual:        Compile using per project (individual) libraries, does not handle thread or threadless cases.
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
@@ -25,7 +25,7 @@ version_micro 4
 version_file micro
 version_target minor
 
-modes android clang coverage debug gcc gcc_13 fanalyzer individual individual_thread level monolithic test thread threadless
+modes android clang coverage debug fanalyzer flex_arrays gcc individual individual_thread level monolithic test thread threadless
 modes_default debug gcc monolithic thread
 
 build_compiler gcc
@@ -84,7 +84,7 @@ flags-android -Wno-implicit-function-declaration -Wl,-z,norelro
 flags-clang -Wno-logical-op-parentheses
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
 flags-fanalyzer -fanalyzer
-flags-gcc_13 -fstrict-flex-arrays=3
+flags-flex_arrays -fstrict-flex-arrays=3
 flags-test -O0 -fstack-protector-strong -Wall
 flags-thread -pthread
 
index bf7ddf0fa069c69b1e6a556abf646a2c83266958..20bd2e8d634d36c48338ac62925b658db0c8eff5 100644 (file)
@@ -6,8 +6,8 @@
 #   - coverage:          Compile for building coverage.
 #   - debug:             Enable debugging, such as compile time debug options.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - flex_arrays:       Use GCC strict flex arrays (supported by GCC version 13 or greater).
 #   - gcc:               Use GCC specific settings.
-#   - gcc_13:            Use GCC version 13 or greater specific settings.
 #   - individual:        Compile using per project (individual) libraries, does not handle thread or threadless cases.
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
@@ -25,7 +25,7 @@ version_micro 4
 version_file micro
 version_target minor
 
-modes android clang coverage debug gcc gcc_13 fanalyzer individual individual_thread level monolithic test thread threadless
+modes android clang coverage debug fanalyzer flex_arrays gcc individual individual_thread level monolithic test thread threadless
 modes_default debug gcc monolithic thread
 
 build_compiler gcc
@@ -84,7 +84,7 @@ flags-android -Wno-implicit-function-declaration -Wl,-z,norelro
 flags-clang -Wno-logical-op-parentheses
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
 flags-fanalyzer -fanalyzer
-flags-gcc_13 -fstrict-flex-arrays=3
+flags-flex_arrays -fstrict-flex-arrays=3
 flags-test -O0 -fstack-protector-strong -Wall
 flags-thread -pthread
 
index 39fae66ca812cad0191c03a708e9edbbcf043844..e414947bd6bf277f4d930f746df351f086a4233a 100644 (file)
@@ -13,7 +13,7 @@
 
 settings:
   fail exit
-  modes clang coverage fanalyzer gcc gcc_13 test thread threadless
+  modes android clang coverage debug fanalyzer flex_arrays gcc test 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
index 0ae82a93861d2b435d526f8045eaee3692855513..b8d86368fb17512dfdfea928107f7390c9df3288 100644 (file)
@@ -6,16 +6,16 @@
 #   fake -s data/build/stand_alone/settings.control clean build
 #
 # Modes:
-#   - android:    Compile on an android system (using Termux; may need modification depending on the android system).
-#   - clang:      Use CLang rather than the default, which is generally GCC.
-#   - coverage:   Compile for building coverage.
-#   - debug:      Enable debugging, such as compile time debug options.
-#   - fanalyzer:  Compile using GCC's -fanalyzer compile time option.
-#   - gcc:        Use GCC specific settings.
-#   - gcc_13:     Use GCC version 13 or greater specific settings.
-#   - test:       Compile for a test, such as unit testing.
-#   - thread:     Compile with thread support.
-#   - threadless: Compile without thread support.
+#   - android:     Compile on an android system (using Termux; may need modification depending on the android system).
+#   - clang:       Use CLang rather than the default, which is generally GCC.
+#   - coverage:    Compile for building coverage.
+#   - debug:       Enable debugging, such as compile time debug options.
+#   - fanalyzer:   Compile using GCC's -fanalyzer compile time option.
+#   - flex_arrays: Use GCC strict flex arrays (supported by GCC version 13 or greater).
+#   - gcc:         Use GCC specific settings.
+#   - test:        Compile for a test, such as unit testing.
+#   - thread:      Compile with thread support.
+#   - threadless:  Compile without thread support.
 #
 
 build_name control
@@ -27,7 +27,7 @@ version_micro 4
 version_file micro
 version_target minor
 
-modes android clang coverage debug fanalyzer gcc gcc_13 test thread threadless
+modes android clang coverage debug fanalyzer flex_arrays gcc test thread threadless
 modes_default debug gcc thread
 
 build_compiler gcc
@@ -115,7 +115,7 @@ flags-android -Wno-implicit-function-declaration -Wl,-z,norelro
 flags-clang -Wno-logical-op-parentheses
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
 flags-fanalyzer -fanalyzer
-flags-gcc_13 -fstrict-flex-arrays=3
+flags-flex_arrays -fstrict-flex-arrays=3
 flags-test -O0 -fstack-protector-strong -Wall
 flags-thread -pthread