From: Martin Taibr Date: Tue, 2 Jul 2019 02:35:53 +0000 (+0200) Subject: allow -O3 in compilation units X-Git-Tag: xonotic-v0.8.5~1258^2~3 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=45d91b925162d4c73853e68f1100b81ac8d782d8;p=xonotic%2Fxonotic-data.pk3dir.git allow -O3 in compilation units --- diff --git a/qcsrc/tools/compilationunits.sh b/qcsrc/tools/compilationunits.sh index e3d1eb013..68f2eb9d5 100755 --- a/qcsrc/tools/compilationunits.sh +++ b/qcsrc/tools/compilationunits.sh @@ -38,6 +38,7 @@ QCCDEFS="${QCCDEFS[@]}" declare -a QCCFLAGS=( -std=gmqcc + -O3 # optimization to accept variable initialization inside `if (1)` blocks and avoid warnings -Wall -Werror -futf8 -freturn-assignments