diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2024-01-12 16:15:10 +0100 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2024-01-12 16:15:10 +0100 |
commit | fdf921c0adff5317e426e798f8a716ca97046383 (patch) | |
tree | d0e27a2e798fb078ff5f9cbb5af409b9c5a21061 /build_and_test.sh | |
parent | d36df5359dcb371d775a9ef10626cd0f7f996002 (diff) | |
download | kit-fdf921c0adff5317e426e798f8a716ca97046383.zip |
Refactor; defer with fblocks
Diffstat (limited to 'build_and_test.sh')
-rw-r--r-- | build_and_test.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/build_and_test.sh b/build_and_test.sh index f677961..b3a3f2d 100644 --- a/build_and_test.sh +++ b/build_and_test.sh @@ -132,11 +132,18 @@ else fi fi +if [ "$COMPILE" = "clang" ] || [ "$OS" = "macOS" ]; then + FLAGS="-fblocks ${FLAGS}" +fi + if [ ! -d "$FOLDER" ]; then mkdir "$FOLDER" fi echo "" +echo "Compiler options: ${FLAGS}" +echo "Link options: ${LINK_FLAGS}" +echo "" # # Project-specific instructions |