summaryrefslogblamecommitdiff
path: root/user/ol/fix-cdefs-test.patch
blob: 41578836cd7ec19ba1a07580733f777902533ab5 (plain) (tree)




















                                                              
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