Skip to content

Commit c53b98a

Browse files
authored
Merge pull request #3431 from kinke/d_optimized
spec: Add predefined version D_Optimized
2 parents 2db8ba5 + f8529ab commit c53b98a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spec/version.dd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,8 @@ $(H3 $(LEGACY_LNAME2 PredefinedVersions, predefined-versions, Predefined Version
349349
$(TROW $(ARGS $(D D_ObjectiveC)) , $(ARGS The target supports interfacing with Objective-C))
350350
$(TROW $(ARGS $(D D_ProfileGC)) , $(ARGS GC allocations being profiled
351351
(command line switch $(DDSUBLINK dmd, switch-profile, $(TT -profile=gc)))))
352+
$(TROW $(ARGS $(D D_Optimized)) , $(ARGS Compiling with enabled optimizations
353+
(command line switch $(DDSUBLINK dmd, switch-O, $(TT -O)))))
352354
$(TROW $(ARGS $(D Core)) , $(ARGS Defined when building the standard runtime))
353355
$(TROW $(ARGS $(D Std)) , $(ARGS Defined when building the standard library))
354356
$(TROW $(ARGS $(D unittest)) , $(ARGS $(DDLINK spec/unittest, Unit Tests, Unit tests) are enabled

0 commit comments

Comments
 (0)