fixed missing flags for app

This commit is contained in:
Václav Šmejkal 2022-05-04 18:52:19 +02:00
parent 265d3c134a
commit 7522c1aaae

View File

@ -109,14 +109,14 @@ elif [[ "$1" == "app" ]]; then ########## BUILD APP ##########
echo "Using '$compiler' as default compiler."
###
flags="-Wall"
# Check for debug flag
if [[ "$2" == "debug" ]]; then ########## TEST & DEBUG ##########
flags="$flags -g"
echo "Using debug flag"
fi
flags="-lwhy2 $flags"
###
echo "Compiling... (Flags: $flags)"
###