Work around freeze if built with GCC8+ due to pointer overflow optimizations in test.c

Recent GCC optimizes away pointer comparisons used by overflow checks in test.c implementation.
This causes memtest to calculate wrong memory addresses which ends up in endless loops, freezes or crashes.

Disable strict pointer overflow check optimization via -fno-strict-overflow flag until code is amended to comply.

Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com>
Change-Id: I5b9ac082060092a0fb2a698c6d3e6f61af6a3578
Reviewed-on: https://review.coreboot.org/c/memtest86plus/+/36715
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
1 file changed