summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2022-05-09 21:18:09 +0200
committer Matteo Bernardini2022-11-19 09:25:22 +0100
commit42746a9a4630898d509283aa95cdb262d7df8e7b (patch)
treeec021c5acf6b359864c1d63e005f6d25156ff40f
parentb54a7d46399fd01b3bf2adc2d1b4a2b429d3c6c4 (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 ..