allow setting debug flags via an environment variable (ARDOUR_DEBUG_FLAGS)

This commit is contained in:
Paul Davis 2019-12-13 13:06:31 -07:00
parent f009f10894
commit ff3cc400ac

View File

@ -358,6 +358,13 @@ int main (int argc, char *argv[])
exit (EXIT_FAILURE);
}
{
const char *adf;
if ((adf = g_getenv ("ARDOUR_DEBUG_FLAGS"))) {
PBD::parse_debug_options (adf);
}
}
cout << PROGRAM_NAME
<< VERSIONSTRING
<< _(" (built using ")