fixed missing flags for app
This commit is contained in:
parent
265d3c134a
commit
7522c1aaae
4
build.sh
4
build.sh
@ -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)"
|
||||
###
|
||||
|
Loading…
x
Reference in New Issue
Block a user