proj*: fixup build with gcc13

This commit is contained in:
Vladimír Čunát 2024-01-10 08:00:49 +01:00
parent 29d39cddfe
commit 4e0a678c8e
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA
2 changed files with 8 additions and 0 deletions

View file

@ -46,6 +46,10 @@ stdenv.mkDerivation rec {
cmakeFlags = [
"-DUSE_EXTERNAL_GTEST=ON"
];
CXXFLAGS = [
# GCC 13: error: 'int64_t' in namespace 'std' does not name a type
"-include cstdint"
];
doCheck = true;

View file

@ -45,6 +45,10 @@ stdenv.mkDerivation (finalAttrs: rec {
"-DNLOHMANN_JSON_ORIGIN=external"
"-DEXE_SQLITE3=${buildPackages.sqlite}/bin/sqlite3"
];
CXXFLAGS = [
# GCC 13: error: 'int64_t' in namespace 'std' does not name a type
"-include cstdint"
];
preCheck =
let