mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
Merge remote-tracking branch
'origin/GP-5543_ghidracadabra_PR-7953_ADonut_decompiler-optimize' (Closes #7953)
This commit is contained in:
commit
5fd9cff2ed
1 changed files with 8 additions and 2 deletions
|
@ -230,9 +230,14 @@ model {
|
||||||
b.cppCompiler.args "/EHsc"
|
b.cppCompiler.args "/EHsc"
|
||||||
b.cppCompiler.define "_SECURE_SCL=0"
|
b.cppCompiler.define "_SECURE_SCL=0"
|
||||||
b.cppCompiler.define "_HAS_ITERATOR_DEBUGGING=0"
|
b.cppCompiler.define "_HAS_ITERATOR_DEBUGGING=0"
|
||||||
|
b.cppCompiler.args "/W3"
|
||||||
|
b.cppCompiler.args "/O2"
|
||||||
|
b.cppCompiler.args "/Oy" // Omit frame pointer
|
||||||
|
b.cppCompiler.args "/GL"
|
||||||
// b.cppCompiler.args "/Zi" // for DEBUG, uncomment this line
|
// b.cppCompiler.args "/Zi" // for DEBUG, uncomment this line
|
||||||
// b.cppCompiler.args "/FS" // for DEBUG, uncomment this line
|
// b.cppCompiler.args "/FS" // for DEBUG, uncomment this line
|
||||||
// b.linker.args "/DEBUG" // for DEBUG, uncomment this line
|
// b.linker.args "/DEBUG" // for DEBUG, uncomment this line
|
||||||
|
b.linker.args "/LTCG"
|
||||||
if (b.targetPlatform.operatingSystem.windows) {
|
if (b.targetPlatform.operatingSystem.windows) {
|
||||||
b.cppCompiler.define "WINDOWS"
|
b.cppCompiler.define "WINDOWS"
|
||||||
b.cppCompiler.define "_WINDOWS"
|
b.cppCompiler.define "_WINDOWS"
|
||||||
|
@ -246,6 +251,7 @@ model {
|
||||||
b.cCompiler.args "/W3"
|
b.cCompiler.args "/W3"
|
||||||
b.cCompiler.args "/O2"
|
b.cCompiler.args "/O2"
|
||||||
b.cCompiler.args "/Oy" // Omit frame pointer
|
b.cCompiler.args "/Oy" // Omit frame pointer
|
||||||
|
b.cCompiler.args "/GL"
|
||||||
b.cCompiler.define "_CRT_SECURE_NO_DEPRECATE"
|
b.cCompiler.define "_CRT_SECURE_NO_DEPRECATE"
|
||||||
b.cCompiler.define "_CRT_NONSTDC_NO_DEPRECATE"
|
b.cCompiler.define "_CRT_NONSTDC_NO_DEPRECATE"
|
||||||
b.cCompiler.define "ZLIB_WINAPI"
|
b.cCompiler.define "ZLIB_WINAPI"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue