]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
-g now turns on -flno
authorDale Weiler <killfieldengine@gmail.com>
Sun, 2 Dec 2012 23:52:38 +0000 (23:52 +0000)
committerDale Weiler <killfieldengine@gmail.com>
Sun, 2 Dec 2012 23:52:38 +0000 (23:52 +0000)
main.c

diff --git a/main.c b/main.c
index 4e4aa33c270d4479b1c2b9531d5b7b26294ea8f5..79b70febed22d1766a7ecc206c9652712635dbc1 100644 (file)
--- a/main.c
+++ b/main.c
@@ -304,6 +304,11 @@ static bool options_parse(int argc, char **argv) {
                     opts_pp_only = true;
                     break;
 
+                /* debug turns on -flno */
+                case 'g':
+                    options_setflag("LNO", true);
+                    break;
+
                 /* handle all -fflags */
                 case 'f':
                     util_strtocmd(argv[0]+2, argv[0]+2, strlen(argv[0]+2)+1);