stress-ng: backport immintrin.h header detection for GCC 13
authorAlexandru Ardelean <alex@shruggie.ro>
Sat, 14 Oct 2023 06:03:52 +0000 (09:03 +0300)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Sun, 22 Oct 2023 21:49:57 +0000 (23:49 +0200)
commit98bcb56eb3de7ae1ffc1ed66287168750a72a059
tree7414d8551c1796ba98e99fd6c8545bfae100be7d
parentaf58942738c13c431f531e78f368d18a0d2dd84d
stress-ng: backport immintrin.h header detection for GCC 13

Backport patch from:
   https://github.com/ColinIanKing/stress-ng/commit/cd84c46ce780242879e8aaa7d698b9cd87996dbd

With GCC 12 there is no issue.
With GCC 13, there is a compilation issue on x86_64.
Fixes https://github.com/openwrt/packages/issues/22373

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
utils/stress-ng/Makefile
utils/stress-ng/patches/002-core-stress-Add-musl-gcc-detection-and-HAVE_COMPILER.patch [new file with mode: 0644]
utils/stress-ng/test.sh [new file with mode: 0644]