# - level: Compile using per level libraries.
# - monolithic: Compile using per monolithic libraries.
# - clang: Use clang rather than the default, which is generally gcc.
+# - gcc: Use gcc 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.
# - thread: Compile with thread support.
# - threadless: Compile without thread support.
#
version_file micro
version_target minor
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
-modes_default monolithic thread
+modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless
+modes_default monolithic thread gcc
build_compiler gcc
build_compiler-clang clang
defines-threadless -D_di_thread_support_
defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
-flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces
+flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces
+flags -fstack-clash-protection -fno-delete-null-pointer-checks
+flags -D_FORTIFY_SOURCE=3
+flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
flags-thread -pthread
flags-clang -Wno-logical-op-parentheses
-flags-test -O0 -fstack-protector -Wall
+flags-gcc -fstrict-flex-arrays=3
+flags-test -O0 -fstack-protector-strong -Wall
flags-fanalyzer -fanalyzer
flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
# - level: Compile using per level libraries.
# - monolithic: Compile using per monolithic libraries.
# - clang: Use clang rather than the default, which is generally gcc
+# - gcc: Use gcc 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.
version_file micro
version_target minor
-modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
-modes_default monolithic thread
+modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless
+modes_default monolithic thread gcc
build_compiler gcc
build_compiler-clang clang
defines -D_libcap_legacy_only_
defines-threadless -D_di_thread_support_
defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
-defines-individual_thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
-flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
+flags -fstack-clash-protection -fno-delete-null-pointer-checks
flags -D_FORTIFY_SOURCE=3
flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
flags-thread -pthread
flags-clang -Wno-logical-op-parentheses
+flags-gcc -fstrict-flex-arrays=3
flags-test -O0 -fstack-protector-strong -Wall
flags-fanalyzer -fanalyzer
flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/