The -static flag is obviously a linker flag and not a compilation
flag. It used to work due to the CMAKE_<C|CXX>_FLAGS being passed at
link time, hiding the initial issue. The bug is revealed by D4947: while
the cross build still succeed, it is no longer static.
Details
Details
- Reviewers
deadalnix - Group Reviewers
Restricted Project - Commits
- rSTAGINGb53c0fcaff0e: [CMAKE] Fix static linkage when building for Windows
rABCb53c0fcaff0e: [CMAKE] Fix static linkage when building for Windows
Run the Gitian build for Windows. Run the bitcoin-qt.exe executable
and check it runs and does not complain about missing DLLs.
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- cmake_fix_windows_static_linking
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 9064 Build 16090: Default Diff Build & Tests Build 16089: arc lint + arc unit