summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2022-05-09 21:18:09 +0200
committer Matteo Bernardini2022-07-02 07:31:35 +0200
commitebab0c5ccd648da759e3ca3712dcd366b5f0a5e0 (patch)
tree31d5206e1f31d51bdfd7d406653582be5bda2a08
parent09029cfd6e379e05106b2adbe352bc8230c26673 (diff)
downloadslackbuilds-unittest-cpp.tar.gz
development/unittest-cpp: Disable some warnings-as-errors.unittest-cpp
Needed by gcc >= 12.x Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--development/unittest-cpp/unittest-cpp.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/development/unittest-cpp/unittest-cpp.SlackBuild b/development/unittest-cpp/unittest-cpp.SlackBuild
index 061e9fea38..223216bb2e 100644
--- a/development/unittest-cpp/unittest-cpp.SlackBuild
+++ b/development/unittest-cpp/unittest-cpp.SlackBuild
@@ -84,7 +84,7 @@ mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -Wno-error=uninitialized" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DCMAKE_BUILD_TYPE=Release ..