Merge pull request #7985 from heitbaum/stress-ng

stress-ng: workaround cross compilation issue since 0.15.09
This commit is contained in:
CvH 2023-07-16 10:57:40 +02:00 committed by GitHub
commit fedfb6b069
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)