diff options
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 |