The -static-libstdc++ linker flag is passed manually through the
environment variable LDFLAGS when running configure configure for
the Linux gitian build.
Details
Details
- Reviewers
deadalnix jasonbcox - Group Reviewers
Restricted Project - Commits
- rSTAGINGd39eb4619980: [CMAKE] Add an option to statically link libstdc++
rABCd39eb4619980: [CMAKE] Add an option to statically link libstdc++
cmake -DENABLE_STATIC_LIBSTDCXX=ON -GNinja .. ninja readelf -d src/bitcoind | grep libstdc++
Grep should return nothing.
cmake -DENABLE_STATIC_LIBSTDCXX=OFF -GNinja .. ninja readelf -d src/bitcoind | grep libstdc++
Grep should return a line containing:
Shared library: [libstdc++.so.x]
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Nit for the test plan: Include the build without static linking, which would produce results for readelf -d src/bitcoind | grep libstdc++