Skip to content

Commit e1b272c

Browse files
authored
Merge branch 'master' into jwi-cmakelanguagestandard
2 parents 1455e0e + 6154bab commit e1b272c

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
@@ -13,6 +13,7 @@ OPTIMIZE_CFLAGS = <%optimize_flags%>
1313
DEBUG_CFLAGS = <%debug_flags%>
1414
RELEASE_CFLAGS = <%release_flags%>
1515
CC_CFLAGS = <%ccflags%>
16+
STACK_LFLAG = <%stack_flag%>
1617
WARN_FLAGS = <%warn_flags%>
1718
BINARY_FLAGS = <%binary_flags%>
1819
THREAD_FLAGS = <%thr_flags%>
@@ -136,7 +137,7 @@ LFLAGS = \
136137
<%linkflags%> \
137138
<%endif%>
138139
<%if(StackReserveSize)%>
139-
/S:<%StackReserveSize%> \
140+
$(STACK_LFLAG)<%StackReserveSize%> \
140141
<%endif%>
141142
<%if(StackCommitSize)%>
142143
/Sc:<%StackCommitSize%> \

templates/bmakecommon.mpt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ debug_flags = -v -y -Od -vi- -k
1919
release_flags =
2020
optimize_flags = -O1
2121
warn_flags = -w-rvl -w-rch -w-ccc -w-obs -w-aus -w-pia -w-inl -w-mls
22+
stack_flag = /S:
2223
cc = bcc32
2324
thr_flags = -tWM
2425
binary_flags = -tWR -tWD
@@ -45,6 +46,7 @@ debug_flags = -Od -vi-
4546
release_flags =
4647
optimize_flags = -O3
4748
warn_flags =
49+
stack_flag = /S:
4850
cc = bcc32c
4951
binary_flags = -tR -tD
5052
thr_flags = -tM
@@ -70,6 +72,7 @@ debug_flags = -g -O0
7072
release_flags =
7173
optimize_flags = -O3
7274
warn_flags =
75+
stack_flag = /S:
7376
cc = bcc64
7477
binary_flags = -tR -tD
7578
thr_flags = -tM
@@ -95,6 +98,7 @@ debug_flags = -g -O0
9598
release_flags = -Wno-ignored-attributes
9699
optimize_flags = -O3
97100
warn_flags =
101+
stack_flag = --stack=
98102
cc = bcc64x
99103
binary_flags = -tR -tD
100104
thr_flags = -tM

0 commit comments

Comments
 (0)