How to add linker option to CMake bootstrap?
问题 I'm building CMake 3.12.4 from the release tarball on AIX. CMake is failing to link on the machine: ld: 0711-781 ERROR: TOC overflow. TOC size: 65632 Maximum size: 65536 The error is detailed in the IBM technotes at ld: 0711-781 ERROR: TOC overflow. I want to add -bbigtoc linker option for the cmake recipe. CMake's bootstrap does not appear to accept linker options for LDFLAGS as shown below. How do I add a linker flag to the bootstrap process? Here are the options CMake bootstrap accepts: $