Skip to content

Commit

Permalink
Update onnxruntime.spec
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar authored Jan 27, 2025
1 parent 98534b2 commit 14b0ca6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onnxruntime.spec
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ cmake ../%{n}-%{realversion}/cmake -GNinja \
-Donnxruntime_BUILD_UNIT_TESTS=OFF \
-DCMAKE_PREFIX_PATH="${ZLIB_ROOT};${LIBPNG_ROOT};${PROTOBUF_ROOT};${PY3_PYBIND11_ROOT};${RE2_ROOT}" \
-DRE2_INCLUDE_DIR="${RE2_ROOT}/include" \
-DCMAKE_CXX_FLAGS="-Wno-error=stringop-overflow -Wno-error=maybe-uninitialized -Wno-error=overloaded-virtual -Wno-error=deprecated-declarations"
-DCMAKE_CXX_FLAGS="-Wno-error=stringop-overflow -Wno-error=maybe-uninitialized -Wno-error=overloaded-virtual"

# -Wno-error=stringop-overflow is needed to work around a false positive string overflow,
# see https://github.com/google/flatbuffers/issues/7366
Expand Down

0 comments on commit 14b0ca6

Please sign in to comment.