13
0

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

View File

@ -63,9 +63,17 @@ export WINRC=${XPREFIX}-windres
export RANLIB=${XPREFIX}-ranlib export RANLIB=${XPREFIX}-ranlib
export DLLTOOL=${XPREFIX}-dlltool 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" \ CFLAGS="-mstackrealign$BIGOBJ" \
CXXFLAGS="-mstackrealign" \ CXXFLAGS="-mstackrealign$BIGOBJ" \
LDFLAGS="-L${PREFIX}/lib" ./waf configure \ LDFLAGS="-L${PREFIX}/lib" ./waf configure \
--keepflags \ --keepflags \
--dist-target=mingw \ --dist-target=mingw \