build: Fix boost depends build with glibc >= 2.34
Summary
In glibc >= 2.34 PTHREAD_STACK_MIN
has been made dynamic which causes
Boost 1.70 to fail to build.
This has been fixed in https://github.com/boostorg/thread/pull/297 for
Solaris which also uses a function call for PTHREAD_STACK_MIN
.
See:
- https://github.com/fabaff/nixpkgs/commit/629e53164bf3f2389813e51e9a984a998559abba
- https://github.com/boostorg/thread/issues/364
- https://github.com/boostorg/thread/issues/283
Test plan
- Use a build OS that includes glibc >= 2.34
cd depends
make build-linux64
Edited by Calin Culianu