From 1b919e36b81624e308b84294db3272b6276d2856 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Mon, 18 May 2020 14:26:46 -0400 Subject: makefile dub build flags --- dub.sdl | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'dub.sdl') 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" { -- cgit v1.2.3