Fix windows debug builds (really now)
This partially reverts commit 4dc4d53004
.
This commit is contained in:
parent
7f198c7c2f
commit
65380797e1
@ -63,8 +63,18 @@ export WINRC=${XPREFIX}-windres
|
|||||||
export RANLIB=${XPREFIX}-ranlib
|
export RANLIB=${XPREFIX}-ranlib
|
||||||
export DLLTOOL=${XPREFIX}-dlltool
|
export DLLTOOL=${XPREFIX}-dlltool
|
||||||
|
|
||||||
CFLAGS="-mstackrealign" \
|
if grep -q optimize <<<"$ARDOURCFG"; then
|
||||||
CXXFLAGS="-mstackrealign" \
|
OPT=""
|
||||||
|
else
|
||||||
|
# debug-build luabindings.cc, has > 60k symbols.
|
||||||
|
# -Wa,-mbig-obj has an unreasonable long build-time
|
||||||
|
# so libs/ardour/wscript only uses it for luabindings.cc.
|
||||||
|
# session.cc is also big, -Og to the rescue.
|
||||||
|
OPT=" -Og"
|
||||||
|
fi
|
||||||
|
|
||||||
|
CFLAGS="-mstackrealign$OPT" \
|
||||||
|
CXXFLAGS="-mstackrealign$OPT" \
|
||||||
LDFLAGS="-L${PREFIX}/lib" \
|
LDFLAGS="-L${PREFIX}/lib" \
|
||||||
DEPSTACK_ROOT="$PREFIX" \
|
DEPSTACK_ROOT="$PREFIX" \
|
||||||
./waf configure \
|
./waf configure \
|
||||||
|
Loading…
Reference in New Issue
Block a user