When both SIMD/NEON optimized and non-SIMD resamplers are built
soxr uses libavutil to do runtime CPU detection to switch
between these.
Avoid that by enabling only one of them depending on NEON
availability.
Also explicitly disable AVFFT to avoid picking up a dependency
on libavcodec.
Signed-off-by: Matthias Reichl <hias@horus.com>
- 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