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."
|
echo "Using '$compiler' as default compiler."
|
||||||
###
|
###
|
||||||
|
|
||||||
flags="-Wall"
|
|
||||||
|
|
||||||
# Check for debug flag
|
# Check for debug flag
|
||||||
if [[ "$2" == "debug" ]]; then ########## TEST & DEBUG ##########
|
if [[ "$2" == "debug" ]]; then ########## TEST & DEBUG ##########
|
||||||
flags="$flags -g"
|
flags="$flags -g"
|
||||||
echo "Using debug flag"
|
echo "Using debug flag"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
flags="-lwhy2 $flags"
|
||||||
|
|
||||||
###
|
###
|
||||||
echo "Compiling... (Flags: $flags)"
|
echo "Compiling... (Flags: $flags)"
|
||||||
###
|
###
|
||||||
|
Loading…
x
Reference in New Issue
Block a user