The return of the w64 debug build

This commit is contained in:
Robin Gareus 2017-02-22 10:17:33 +01:00
parent 9bfbde944b
commit a2d54c3d97
1 changed files with 10 additions and 2 deletions

View File

@ -63,9 +63,17 @@ export WINRC=${XPREFIX}-windres
export RANLIB=${XPREFIX}-ranlib
export DLLTOOL=${XPREFIX}-dlltool
if grep -q optimize <<<"$ARDOURCFG"; then
OPT=""
else
#debug-build luabindings.cc, has > 60k symbols.
# -Wa,-mbig-obj has an unreasonable long build-time
# -Og to the rescue.
OPT=" -Og"
fi
CFLAGS="-mstackrealign" \
CXXFLAGS="-mstackrealign" \
CFLAGS="-mstackrealign$BIGOBJ" \
CXXFLAGS="-mstackrealign$BIGOBJ" \
LDFLAGS="-L${PREFIX}/lib" ./waf configure \
--keepflags \
--dist-target=mingw \