Kaydet (Commit) d6b91568 authored tarafından Michael Stahl's avatar Michael Stahl

gcc-wrappers: recognise -ggdb.* in addition to -g as debug flag

Firebird uses -ggdb.  This causes it to have 2 PDB files, however
this isn't sufficient to make BinScope happy, more investigation
needed.

Change-Id: I5286964586eaffea36790ab7a7ca2df75d85f068
üst e8f2ca76
......@@ -127,7 +127,7 @@ string processccargs(vector<string> rawargs) {
exit(1);
}
}
else if(*i == "-g") {
else if(*i == "-g" || !(*i).compare(0,5,"-ggdb")) {
args.append("-Zi");
args.append(" -FS");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment