Added more advanced optimization flags
This commit is contained in:
10
binding.gyp
10
binding.gyp
@@ -21,14 +21,14 @@
|
||||
"-lboost_date_time",
|
||||
]
|
||||
},
|
||||
"cflags_cc!": [ "-fno-exceptions", "-fno-rtti" ],
|
||||
"cflags_c": [
|
||||
"-std=gnu11 -march=native -fPIC -m64 -DNDEBUG -Ofast -funroll-loops -fvariable-expansion-in-unroller -ftree-loop-if-convert-stores -fmerge-all-constants -fbranch-target-load-optimize2"
|
||||
],
|
||||
"cflags_cc": [
|
||||
"-std=c++0x",
|
||||
"-fexceptions",
|
||||
"-frtti",
|
||||
"-std=gnu++11 -march=native -fPIC -m64 -DNDEBUG -Ofast -s -funroll-loops -fvariable-expansion-in-unroller -ftree-loop-if-convert-stores -fmerge-all-constants -fbranch-target-load-optimize2"
|
||||
],
|
||||
"xcode_settings": {
|
||||
"OTHER_CFLAGS": ["-fexceptions", "-frtti"]
|
||||
"OTHER_CFLAGS": [ "-fexceptions -frtti" ]
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user