From 311db5c8c37b117fe619cb87f36a837ac38e7d83 Mon Sep 17 00:00:00 2001 From: Max Logaev Date: Fri, 30 Jan 2026 14:43:02 +0300 Subject: [PATCH] oberon07: Option `-nochk a` by default This option disables runtime checks to reduce binary file size. Signed-off-by: Max Logaev --- programs/develop/cedit/Tupfile.lua | 2 -- programs/use_ob07.lua | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/programs/develop/cedit/Tupfile.lua b/programs/develop/cedit/Tupfile.lua index eb4c80257..6b2b645ee 100644 --- a/programs/develop/cedit/Tupfile.lua +++ b/programs/develop/cedit/Tupfile.lua @@ -6,6 +6,4 @@ end tup.include(HELPERDIR .. "/use_ob07.lua") -OB07_FLAGS = OB07_FLAGS .. "-nochk a " - build_ob07({"SRC/CEdit.ob07"}, "cedit"); diff --git a/programs/use_ob07.lua b/programs/use_ob07.lua index c511325a0..f8f80834b 100644 --- a/programs/use_ob07.lua +++ b/programs/use_ob07.lua @@ -1,5 +1,5 @@ OB07 = tup.getcwd() .. "/develop/oberon07/compiler" -OB07_FLAGS = "-stk 1 " +OB07_FLAGS = "-stk 1 -nochk a" function build_ob07(input, output) tup.rule(input, OB07 .. " %f kosexe -out %o " .. OB07_FLAGS .. " " .. tup.getconfig("KPACK_CMD"), output)