You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CMakeLists.txt
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -137,6 +137,8 @@ set(COMPILE_D_MODULES_SEPARATELY OFF CACHE BOOL "Compile each D module separatel
137
137
138
138
set(LDC_ENABLE_ASSERTIONS "${LLVM_ENABLE_ASSERTIONS}"CACHEBOOL"Enable LDC assertions. Defaults to the LLVM assertions mode; overriding may cause LDC segfaults!")
139
139
140
+
set(EXTRA_DFLAGS_LDC ""CACHESTRING"Extra D compiler flags for the ldc2 executable only, e.g., for PGO.")
141
+
140
142
# Allow user to specify mimalloc.o location, to be linked with `ldc2` only
141
143
set(ALTERNATIVE_MALLOC_O ""CACHESTRING"If specified, adds ALTERNATIVE_MALLOC_O object file to LDC link, to override the CRT malloc.")
0 commit comments