diff --git a/gtk2_ardour/opts.cc b/gtk2_ardour/opts.cc index dbcd0655f9..234381a249 100644 --- a/gtk2_ardour/opts.cc +++ b/gtk2_ardour/opts.cc @@ -179,6 +179,8 @@ ARDOUR_COMMAND_LINE::parse_opts (int argc, char *argv[]) if (PBD::parse_debug_options (optarg)) { exit (EXIT_SUCCESS); } +#else + cerr << "This is not a debug build - igoring '-D " << optarg << "'" << endl; #endif /* NDEBUG */ break;