mirror of https://gitee.com/bigwinds/arangodb
use -O2
This commit is contained in:
parent
4cae93dddd
commit
a04630a45b
|
@ -297,7 +297,7 @@
|
|||
'-fdata-sections',
|
||||
'-ffunction-sections',
|
||||
'-fomit-frame-pointer',
|
||||
'-O3',
|
||||
'-O2',
|
||||
],
|
||||
'conditions': [
|
||||
[ 'gcc_version==44 and clang==0', {
|
||||
|
@ -316,7 +316,7 @@
|
|||
}],
|
||||
['OS=="mac"', {
|
||||
'xcode_settings': {
|
||||
'GCC_OPTIMIZATION_LEVEL': '3', # -O3
|
||||
'GCC_OPTIMIZATION_LEVEL': '2', # -O2
|
||||
|
||||
# -fstrict-aliasing. Mainline gcc
|
||||
# enables this at -O2 and above,
|
||||
|
|
Loading…
Reference in New Issue