Skip to content
Snippets Groups Projects
Commit 4d57652c authored by Steve Lhomme's avatar Steve Lhomme
Browse files

package/win32: build.sh: enable debug/disable optimization in debug builds

the --disable-optim flag is used for both. Debug builds should have debug so
should enable this option (until/if we split the option to enable/disable debug
and enable/disable optimization).
parent 067c51f0
No related branches found
No related tags found
Loading
......@@ -139,6 +139,9 @@ fi
if [ ! -z "$BREAKPAD" ]; then
CONTRIBFLAGS="$CONTRIBFLAGS --enable-breakpad"
fi
if [ "$RELEASE" != "yes" ]; then
CONTRIBFLAGS="$CONTRIBFLAGS --disable-optim"
fi
../bootstrap --host=$TRIPLET $CONTRIBFLAGS
# Rebuild the contribs or use the prebuilt ones
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment