mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-22 00:22:25 +08:00
GP-6652 add flag to use std=gnu17 for DemanglerGnu
This commit is contained in:
@@ -135,6 +135,7 @@ model {
|
||||
if (version.equals(v41)) {
|
||||
if (toolChain in Gcc) {
|
||||
//cCompiler.args "-DCP_DEMANGLE_DEBUG"
|
||||
cCompiler.args "-std=gnu17"
|
||||
cCompiler.args "-DHAVE_STDLIB_H"
|
||||
cCompiler.args "-DHAVE_STRING_H"
|
||||
}
|
||||
@@ -151,6 +152,7 @@ model {
|
||||
else if (version.equals(v24)) {
|
||||
if (toolChain in Gcc) {
|
||||
cCompiler.args "-DMAIN_CPLUS_DEM"
|
||||
cCompiler.args "-std=gnu17"
|
||||
cCompiler.args "-DHAVE_STDLIB_H"
|
||||
cCompiler.args "-DHAVE_STRING_H"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user