From 0a9ca00905709aa255a9e76ba4b5b43728516b99 Mon Sep 17 00:00:00 2001 From: Rasmus Thomsen Date: Fri, 3 Jul 2020 09:50:22 +0000 Subject: [PATCH] abuild.conf: set DFLAGS="-Os" by default Without these we don't have any optimizations by default in D applications --- abuild.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/abuild.conf b/abuild.conf index c00e31b..d96bd3f 100644 --- a/abuild.conf +++ b/abuild.conf @@ -3,6 +3,8 @@ export CXXFLAGS="$CFLAGS" export CPPFLAGS="$CFLAGS" export LDFLAGS="-Wl,--as-needed" export GOFLAGS="-buildmode=pie" +# Do note that these should work with at least GDC and LDC +export DFLAGS="-Os" export JOBS=2 export MAKEFLAGS=-j$JOBS