mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-31 14:39:53 +01:00
Fix compiler's args in debug mode
This commit is contained in:
parent
9b70d8477a
commit
d62a48e8ad
@ -670,12 +670,12 @@ subprojects {
|
||||
cppCompiler.args "-stdlib=libc++"
|
||||
|
||||
if (buildType == buildTypes.debug) {
|
||||
cCompiler.args '-O0 -g -gdwarf-2'
|
||||
cppCompiler.args '-O0 -g -gdwarf-2'
|
||||
cCompiler.args ('-O0', '-g', '-gdwarf-2')
|
||||
cppCompiler.args ('-O0', '-g', '-gdwarf-2')
|
||||
} else
|
||||
if (buildType == buildTypes.release) {
|
||||
cCompiler.args '-O'
|
||||
cppCompiler.args '-O'
|
||||
cCompiler.args '-Os'
|
||||
cppCompiler.args '-O2'
|
||||
}
|
||||
|
||||
linker.args "-stdlib=libc++"
|
||||
|
Loading…
x
Reference in New Issue
Block a user