msys2-runtime: put OPTIM (-O0) stuff back in

This commit is contained in:
Ray Donnelly
2014-03-21 18:21:25 +00:00
parent dfa9420198
commit 669c709f2f

View File

@@ -35,8 +35,6 @@ prepare() {
# patch -p1 -i ${srcdir}/0002-revert-mounting.patch
# This is the new code, but it doesn't handle Unix PATH lists very well.
patch -p1 -i ${srcdir}/0003-Add-msys2_path_conv.patch
}
build() {
@@ -46,8 +44,14 @@ build() {
# Gives more verbose compile output when debugging.
if check_option "debug" "y"; then
export CCWRAP_VERBOSE=1
OPTIM="-O0"
else
OPTIM="-O2"
fi
CFLAGS="$OPTIM -pipe -ggdb"
CXXFLAGS="$OPTIM -pipe -ggdb"
${srcdir}/msys2-runtime/configure \
--prefix=/usr \
--build=${CHOST} \