Merge pull request #168973 from veprbl/pr/root5_glibc_fix
root5: fix for glibc
This commit is contained in:
commit
2511bad8aa
1 changed files with 5 additions and 0 deletions
|
@ -85,6 +85,11 @@ stdenv.mkDerivation rec {
|
|||
|
||||
patchShebangs build/unix/
|
||||
ln -s ${lib.getDev stdenv.cc.libc}/include/AvailabilityMacros.h cint/cint/include/
|
||||
|
||||
# __malloc_hook is deprecated
|
||||
substituteInPlace misc/memstat/src/TMemStatHook.cxx \
|
||||
--replace "defined(R__GNU) && (defined(R__LINUX) || defined(__APPLE__))" \
|
||||
"defined(R__GNU) && (defined(__APPLE__))"
|
||||
''
|
||||
# Fix CINTSYSDIR for "build" version of rootcint
|
||||
# This is probably a bug that breaks out-of-source builds
|
||||
|
|
Loading…
Reference in a new issue