Enabling the disabling of embedding debug info in binaries

This commit is contained in:
Jeremiah Orians 2021-11-23 06:06:42 -05:00
parent 668c5b7c4c
commit 295b323996
No known key found for this signature in database
GPG Key ID: 6B3A3F198708F894
1 changed files with 6 additions and 0 deletions

6
cc.c
View File

@ -132,6 +132,12 @@ int main(int argc, char** argv, char** envp)
FUZZING = TRUE;
i += 1;
}
else if(match(argv[i], "--no-debug"))
{
/* strip things down */
debug_flag = FALSE;
i += 1;
}
else
{
fputs("UNKNOWN ARGUMENT\n", stdout);