Skip to content

Commit

Permalink
build all instead of missing for release builds (#117)
Browse files Browse the repository at this point in the history
We want to avoid "unsupported GNU_PROPERTY_TYPE" errors when building with
gcc-11.
  • Loading branch information
copperlight authored Dec 11, 2024
1 parent 5bc3266 commit 77c2d1e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ if [[ ! -d $BUILD_DIR ]]; then
if [[ "$BUILD_TYPE" == "Debug" ]]; then
conan install . --output-folder="$BUILD_DIR" --build="*" --settings=build_type="$BUILD_TYPE" --profile=./sanitized
else
conan install . --output-folder="$BUILD_DIR" --build=missing
# build "*" (all) instead of "missing" to avoid "unsupported GNU_PROPERTY_TYPE" errors with gcc-11
conan install . --output-folder="$BUILD_DIR" --build="*"
fi

# this switch is necessary for internal centos builds
Expand Down

0 comments on commit 77c2d1e

Please sign in to comment.