]> Nishi Git Mirror - dataworks.git/commitdiff
decrese stack size
authornishi <nishi@d4a5a174-5a4a-5b4b-b672-37683c10d7d5>
Thu, 6 Jun 2024 14:00:25 +0000 (14:00 +0000)
committernishi <nishi@d4a5a174-5a4a-5b4b-b672-37683c10d7d5>
Thu, 6 Jun 2024 14:00:25 +0000 (14:00 +0000)
git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@166 d4a5a174-5a4a-5b4b-b672-37683c10d7d5

Platforms/dos.mk

index 305638aaa2cee492ecd5645a28a8c15c07c3fda3..5d1c02903200d3bc4f68177753e8a26ef76ddab5 100644 (file)
@@ -3,6 +3,7 @@
 WATCOM_PLATFORM=dos
 include Platforms/watcom.mk
 EXEC_SUFFIX=.exe
-CFLAGS += -march=i86 -mstack-size=8196
-LDFLAGS += -march=i86 -mstack-size=8196
+STACK_SIZE = 2048
+CFLAGS += -march=i86 -mstack-size=$(STACK_SIZE)
+LDFLAGS += -march=i86 -mstack-size=$(STACK_SIZE)
 SERVER_MODULE = hayes.o