From 45d91b925162d4c73853e68f1100b81ac8d782d8 Mon Sep 17 00:00:00 2001 From: Martin Taibr Date: Tue, 2 Jul 2019 04:35:53 +0200 Subject: [PATCH] allow -O3 in compilation units --- qcsrc/tools/compilationunits.sh | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.2