From bd635c0e4934b12cffb5d3cb70025e435e28d3f7 Mon Sep 17 00:00:00 2001 From: Rudi Heitbaum Date: Sun, 16 Jul 2023 05:09:54 +0000 Subject: [PATCH] stress-ng: workaround cross compilation issue since 0.15.09 --- ...s-ng-0001-workaround-cross-compilation-issue.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 packages/addons/addon-depends/system-tools-depends/stress-ng/patches/stress-ng-0001-workaround-cross-compilation-issue.patch diff --git a/packages/addons/addon-depends/system-tools-depends/stress-ng/patches/stress-ng-0001-workaround-cross-compilation-issue.patch b/packages/addons/addon-depends/system-tools-depends/stress-ng/patches/stress-ng-0001-workaround-cross-compilation-issue.patch new file mode 100644 index 0000000000..cc4a558133 --- /dev/null +++ b/packages/addons/addon-depends/system-tools-depends/stress-ng/patches/stress-ng-0001-workaround-cross-compilation-issue.patch @@ -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) +