Commit 9d6b5978 authored by Marc Vef's avatar Marc Vef
Browse files

Merge branch...

Merge branch '236-rocksdb-compilation-may-need-wno-error-maybe-uninitialized-in-the-future' into 'master'

Resolve "rocksdb compilation may need -Wno-error=maybe-uninitialized in the future"

Closes #236

See merge request !155
parents 84fd165e 369db1fc
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -48,7 +48,7 @@ pkg_install() {
    # gcc 9 and clang 8 need -Wno-error=deprecated-copy -Wno-error=pessimizing-move
    if [[ ("${COMPILER_NAME}" == "g++" && "${COMPILER_MAJOR_VERSION}" -ge 9) ||
          ("${COMPILER_NAME}" == "clang" && "${COMPILER_MAJOR_VERSION}" -ge 8) ]]; then
        CXXFLAGS='-Wno-error=deprecated-copy -Wno-error=pessimizing-move'
        CXXFLAGS='-Wno-error=deprecated-copy -Wno-error=pessimizing-move -Wno-error=maybe-uninitialized'
    fi

    # TODO use SSE?