From b73d3d96a1ab7a7ffea4fef69168ceecc98c800b Mon Sep 17 00:00:00 2001 From: Jiri Malak Date: Tue, 16 Jul 2024 08:28:58 +0200 Subject: [PATCH] ow-build: use more transparen ow memory model and link target define memory model explicitly instead implicitly, kernel uses small memory model define linking target explicitly to com or exe instead implicitly assigned --- mkfiles/watcom.mak | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mkfiles/watcom.mak b/mkfiles/watcom.mak index b5a8055..d95b94a 100644 --- a/mkfiles/watcom.mak +++ b/mkfiles/watcom.mak @@ -21,9 +21,9 @@ LIBUTIL=wlib -q LIBPLUS= LIBTERM= -TINY=-mt -CFLAGST=-zp1-os-s-we-e3-wx-bt=DOS -CFLAGSC=-mc-zp1-os-s-we-e3-wx-bt=DOS +TINY=-l=com +CFLAGST=-ms-zp1-os-s-we-e3-wx-bt=dos +CFLAGSC=-mc-zp1-os-s-we-e3-wx-bcl=dos TARGET=KWC @@ -61,7 +61,7 @@ MATH_INSERT= # -3 optimization for 386 - given in CONFIG.MAK, not here # -ALLCFLAGS=-I..$(DIRSEP)hdr $(TARGETOPT) $(ALLCFLAGS) -os-s-e5-j-zl-zp1-wx-we-zgf-zff-r +ALLCFLAGS=-I..$(DIRSEP)hdr $(TARGETOPT) $(ALLCFLAGS) -ms-os-s-e5-j-zl-zp1-wx-we-zgf-zff-r-bt=none INITCFLAGS=$(ALLCFLAGS)-ntINIT_TEXT-gTGROUP-ndI CFLAGS=$(ALLCFLAGS)-ntHMA_TEXT