mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02:00
proj*: fixup build with gcc13
This commit is contained in:
parent
29d39cddfe
commit
4e0a678c8e
|
@ -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;
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue