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