[clang] uglify json when not in frontend debug mode

master
Jules Villard 10 years ago
parent c1e5fa2194
commit 8f03d67932

@ -129,6 +129,12 @@ then
if [ -n "$SYNTAX_ONLY" ]; then if [ -n "$SYNTAX_ONLY" ]; then
EXTRA_ARGS+=("-fsyntax-only") EXTRA_ARGS+=("-fsyntax-only")
fi fi
if [ -z "$DEBUG_MODE" ]; then
# uglify json
EXTRA_ARGS+=(
"-Xclang" "-plugin-arg-${PLUGIN_NAME}"
"-Xclang" "PRETTIFY_JSON=0")
fi
unset IFS unset IFS
# using always the original clang command for several reasons: # using always the original clang command for several reasons:

Loading…
Cancel
Save