Merge pull request #9153 from gilles-peskine-arm/oid-limits-2.28

2.28 only: Fix the build without check_config.h (inclusion of limits.h)
This commit is contained in:
Gilles Peskine
2024-05-29 16:14:24 +00:00
committed by GitHub
8 changed files with 18 additions and 0 deletions

View File

@@ -886,6 +886,13 @@ component_test_default_out_of_box () {
tests/scripts/run_demos.py
}
component_build_without_check_config () {
msg "build: full without check_config.h"
scripts/config.py full
sed -i '/#include.*check_config\.h/ s!^!//!' "$CONFIG_H"
make
}
component_test_default_cmake_gcc_asan () {
msg "build: cmake, gcc, ASan" # ~ 1 min 50s
CC=gcc cmake -D CMAKE_BUILD_TYPE:String=Asan .