abuild.conf: set DFLAGS="-Os" by default

Without these we don't have any optimizations by default in D applications
This commit is contained in:
Rasmus Thomsen 2020-07-03 09:50:22 +00:00 committed by Natanael Copa
parent 29a3433b43
commit 0a9ca00905
1 changed files with 2 additions and 0 deletions

View File

@ -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