diff options
Diffstat (limited to 'user/ol/fix-cdefs-test.patch')
-rw-r--r-- | user/ol/fix-cdefs-test.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/user/ol/fix-cdefs-test.patch b/user/ol/fix-cdefs-test.patch new file mode 100644 index 000000000..41578836c --- /dev/null +++ b/user/ol/fix-cdefs-test.patch @@ -0,0 +1,21 @@ +diff -ur a/tests/Makefile b/tests/Makefile +--- a/tests/Makefile 2023-03-23 06:59:27.672116150 -0500 ++++ b/tests/Makefile 2023-03-23 06:59:48.224536016 -0500 +@@ -17,8 +17,8 @@ + failed:="\033[1;31mfailed\033[0m" + + # 32-/64-bit test environment setup +-HAS_32CDEFS ?= $(call exists,-m32,sys/cdefs.h,exit) +-HAS_64CDEFS ?= $(call exists,-m64,sys/cdefs.h,exit) ++HAS_32CDEFS ?= 0 ++HAS_64CDEFS ?= 0 + + ifeq ($(HAS_64CDEFS),1) + vm64 = printf "64 " && ./vm64 repl <$$F | diff - $$F.ok +@@ -425,4 +425,4 @@ + @if [ -e $(FAILED) ] ;then rm -f $(FAILED); exit 1 ;fi + @echo "\033[1;32mpassed!\033[0m" + +-endif +\ No newline at end of file ++endif |