stress-ng: workaround cross compilation issue since 0.15.09

This commit is contained in:
Rudi Heitbaum 2023-07-16 05:09:54 +00:00
parent 87b612738f
commit 8807e2e8eb

View File

@ -0,0 +1,11 @@
--- a/Makefile.config 2023-07-13 07:58:21.000000000 +0000
+++ b/Makefile.config 2023-07-16 05:05:35.766646855 +0000
@@ -311,7 +311,7 @@
compiler: configdir
@echo "checking compiler ..."
@$(CC) test/test-compiler.c -o test/test-compiler
- @echo "" > $(CONFIGS)/$$(./test/test-compiler)
+ @echo "" > $(CONFIGS)/HAVE_COMPILER_GCC
@rm -f test/test-compiler
$(call check,test-glibc,HAVE_GLIBC,using glibc)