aboutsummaryrefslogtreecommitdiffhomepage
path: root/dub.sdl
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2020-05-18 14:26:46 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2020-06-03 20:20:13 -0400
commit1b919e36b81624e308b84294db3272b6276d2856 (patch)
treec251b145305b03b5418505bd22267270ea8f7a35 /dub.sdl
parentcatching (diff)
makefile dub build flags
Diffstat (limited to 'dub.sdl')
-rw-r--r--dub.sdl9
1 files changed, 7 insertions, 2 deletions
diff --git a/dub.sdl b/dub.sdl
index 83606f8..09d508f 100644
--- a/dub.sdl
+++ b/dub.sdl
@@ -47,6 +47,11 @@ buildType "ldc" {
buildOptions "verbose" "optimize" "inline"
buildRequirements "allowWarnings"
}
+buildType "ldc-local" {
+ dflags "-O2" "-J=views" "-I=src/doc_reform" "-mcpu=native"
+ buildOptions "verbose" "optimize" "inline"
+ buildRequirements "allowWarnings"
+}
buildType "ldc-release" {
dflags "-O2" "-J=views" "-I=src/doc_reform"
buildOptions "verbose" "optimize" "inline" "releaseMode"
@@ -62,9 +67,9 @@ configuration "gdc" {
postGenerateCommands "/usr/bin/notify-send -t 0 'D executable ready' 'spine-gdc'"
}
buildType "gdc" {
- dflags "-O2" "-J=views" "-I=src/doc_reform"
+ dflags "-O" "-J=views" "-I=src/doc_reform"
lflags "-lz"
- buildOptions "optimize" "inline"
+ buildOptions "inline"
buildRequirements "allowWarnings"
}
buildType "gdc-release" {