Merge pull request #228588 from wegank/root-darwin
root: fix build on aarch64-darwin
This commit is contained in:
commit
e67d2ca182
1 changed files with 3 additions and 0 deletions
|
@ -208,6 +208,9 @@ stdenv.mkDerivation rec {
|
||||||
# fatal error: module map file '/nix/store/<hash>-Libsystem-osx-10.12.6/include/module.modulemap' not found
|
# fatal error: module map file '/nix/store/<hash>-Libsystem-osx-10.12.6/include/module.modulemap' not found
|
||||||
# fatal error: could not build module '_Builtin_intrinsics'
|
# fatal error: could not build module '_Builtin_intrinsics'
|
||||||
"-Druntime_cxxmodules=OFF"
|
"-Druntime_cxxmodules=OFF"
|
||||||
|
|
||||||
|
# At least C++17 standard required with root7
|
||||||
|
"-DCMAKE_CXX_STANDARD=17"
|
||||||
];
|
];
|
||||||
|
|
||||||
# Workaround the xrootd runpath bug #169677 by prefixing [DY]LD_LIBRARY_PATH with ${lib.makeLibraryPath xrootd}.
|
# Workaround the xrootd runpath bug #169677 by prefixing [DY]LD_LIBRARY_PATH with ${lib.makeLibraryPath xrootd}.
|
||||||
|
|
Loading…
Reference in a new issue