[openssl] fix compilation on Armv7 with Debian12's gcc.
This MR fixes following error which is observed on ArmV7 (gcc version 12.2.0 (Debian 12.2.0-14+deb12u1)
`[2026-07-14 06:28:49,478] INFO cc1: error: ‘-mfloat-abi=hard’: selected architecture lacks an FPU
[2026-07-14 06:28:49,510] INFO make[1]: *** [Makefile:5610: apps/lib/libapps-lib-app_libctx.o] Error 1
[2026-07-14 06:28:49,512] INFO make[1]: Leaving directory '/opt/slapgrid/04ed034bd7c113f770958d58f0b26f8a/parts/openssl-3.5/.build/openssl-3.5.7'
[2026-07-14 06:28:49,523] INFO make: *** [Makefile:3868: build_sw] Error 2
[2026-07-14 06:28:49,536] INFO openssl-3.5: Command 'set -e;make SHARED_LDFLAGS='-Wl,-rpath=/opt/slapgrid/04ed034bd7c113f770958d58f0b26f8a/parts/openssl-3.5/lib -Wl,-rpath=/opt/slapgrid/04ed034bd7c113f770958d58f0b26f8a/parts/zlib/lib'' returned non-zero exit status 2.
[2026-07-14 06:28:49,539] INFO openssl-3.5: Compilation error. The package is left as is at /opt/slapgrid/04ed034bd7c113f770958d58f0b26f8a/parts/openssl-3.5/.build/openssl-3.5.7 where you can inspect what went wrong.
[2026-07-14 06:28:49,545] INFO A shell script slapos.recipe.build.env.sh has been generated. You can source it in your shell to reproduce build environment.
[2026-07-14 06:28:49,578] INFO While:
[2026-07-14 06:28:49,581] INFO Installing.
[2026-07-14 06:28:49,592] INFO Installing openssl-3.5.
[2026-07-14 06:28:49,595] INFO Error: System error`
The problems list in the following:
- OpenSSL compilation under ArmV7 (only!) and in Debian 12 (works for Debian 11!) detect target system as "Configuring OpenSSL version 3.5.7 for target linux-armv4"
- This target means: compile as if we have no FPU support (i.e. a safe way for openssl!)
- As openssl seems to use default for the OS gcc (gcc version 12.2.0, Debian 12.2.0-14+deb12u1, Target: arm-linux-gnueabihf) gcc rightfully detects that it has been asked to compile with no FPU support while board do have FPU support and raises the exception above.
@jerome , @tomo maybe you can advice more.
I tested the patch in testrunner branch and this is the reason why we can not have slapos-node / res6t-node packages for Debian12 / armhf as described here. P.S.: I did apply the patch as well at OBS, seems OK.