Skip to content

Commit 98c4796

Browse files
authored
Merge branch 'master' into jwi-bmakepdb2
2 parents 1e82d95 + 6154bab commit 98c4796

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

templates/bmake.mpd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ PDB_FLAGS = <%pdb_flags%>
1414
DEBUG_CFLAGS = <%debug_flags%>
1515
RELEASE_CFLAGS = <%release_flags%>
1616
CC_CFLAGS = <%ccflags%>
17+
STACK_LFLAG = <%stack_flag%>
1718
WARN_FLAGS = <%warn_flags%>
1819
BINARY_FLAGS = <%binary_flags%>
1920
THREAD_FLAGS = <%thr_flags%>
@@ -139,7 +140,7 @@ LFLAGS = \
139140
<%linkflags%> \
140141
<%endif%>
141142
<%if(StackReserveSize)%>
142-
/S:<%StackReserveSize%> \
143+
$(STACK_LFLAG)<%StackReserveSize%> \
143144
<%endif%>
144145
<%if(StackCommitSize)%>
145146
/Sc:<%StackCommitSize%> \

templates/bmakecommon.mpt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ release_flags =
2020
optimize_flags = -O1
2121
pdb_flags =
2222
warn_flags = -w-rvl -w-rch -w-ccc -w-obs -w-aus -w-pia -w-inl -w-mls
23+
stack_flag = /S:
2324
cc = bcc32
2425
thr_flags = -tWM
2526
binary_flags = -tWR -tWD
@@ -47,6 +48,7 @@ release_flags =
4748
optimize_flags = -O3
4849
pdb_flags =
4950
warn_flags =
51+
stack_flag = /S:
5052
cc = bcc32c
5153
binary_flags = -tR -tD
5254
thr_flags = -tM
@@ -73,6 +75,7 @@ release_flags =
7375
optimize_flags = -O3
7476
pdb_flags =
7577
warn_flags =
78+
stack_flag = /S:
7679
cc = bcc64
7780
binary_flags = -tR -tD
7881
thr_flags = -tM
@@ -99,6 +102,7 @@ release_flags = -Wno-ignored-attributes
99102
optimize_flags = -O3
100103
pdb_flags = -pdb $(OUTPUTDIR)$(NAME).pdb
101104
warn_flags =
105+
stack_flag = --stack=
102106
cc = bcc64x
103107
binary_flags = -tR -tD
104108
thr_flags = -tM

0 commit comments

Comments
 (0)