We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37e0c16 commit c6ac370Copy full SHA for c6ac370
targets/linux/build-binary
@@ -56,6 +56,11 @@ make_sounds make_soundfile_linux
56
echo " => compiling application.."
57
tgt=$apptgtdir/$SYS_APPNAME$SYS_EXEFIX
58
59
+if [ "$SYS_MODE" = "debug" ]; then
60
+ # enable profiling
61
+ cflag_additions="$cflag_additions -pg"
62
+fi
63
+
64
if [ `is_standalone_app` = "yes" ]; then
65
veval "$SYS_CC -I$SYS_PREFIX/include \
66
$cflag_additions -DUSECONSOLE -o $tgt \
0 commit comments