This supports the build of required host cross compiler binaries:
- heimdal_asn1_compile
- heimdal_compile_et
The update to 5dd29ec 2022-03-22 (8.0pre) is required for Samba 4.16.0
add asn1c:host dependancy
Build fails with a complaint about not finding ncurses, which is installed. It's
actually checking for tinfo.
Patches are from upstream:
872222db355e7bc8d881
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
Install the Heimdal version of compile_et (and asn1_compile for completeness)
using a heimdal_ prefix to avoid a name clash with e2fsprogs which installs a
similar but different (and older) compile_et shell script.
Then, tell Samba where to find the new Heimdal binaries.
Ref: https://bugzilla.samba.org/show_bug.cgi?id=13856
- replace strip_lto/strip_gold (only allowed to disable)
- add flag for PIC feature
- add flag to stop build parallel
- add support for hardening option (initial copy from debian 9)
All build parameters, are added in setup_toolchain.
`PKG_[FLAG]_[HOST/TARGET]_ENABLED` variable is introduced for checking the flag (yes/no) in the package.mk
Thanks to @MilhouseVH, for support and fixing