Merge pull request #1367 from danielp96/libjson-reproducibility

modules/json-c: set cmake build type as minsizerel
This commit is contained in:
tlaurion 2023-04-11 10:42:00 -04:00 committed by GitHub
commit 5b9d9529ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,7 @@ json-c_configure := \
echo -e "$(toolchain_file)" | sed 's/\\//g' > toolchain && \
mkdir -p build && \
cd build && \
cmake .. -DCMAKE_INSTALL_PREFIX="$(INSTALL)" -DCMAKE_TOOLCHAIN_FILE=../toolchain
cmake .. -DCMAKE_INSTALL_PREFIX="$(INSTALL)" -DCMAKE_TOOLCHAIN_FILE=../toolchain -DCMAKE_BUILD_TYPE=minsizerel
json-c_target := \
$(CROSS_TOOLS) -C $(build)/$(json-c_dir)/build \