Skip to content

Commit 2b6943d

Browse files
committed
build: use -O3 instead of -Ofast
1 parent c0591e6 commit 2b6943d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

binding.gyp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@
136136
# Release Settings
137137
'Release': {
138138
'defines': [ 'NDEBUG' ],
139-
"cflags": [ "-fno-exceptions", "-Ofast" ],
140-
"cflags_cc": [ "-fno-exceptions", "-Ofast", "-std=c++<(STANDARD)" ],
139+
"cflags": [ "-fno-exceptions", "-O3" ],
140+
"cflags_cc": [ "-fno-exceptions", "-O3", "-std=c++<(STANDARD)" ],
141141
"xcode_settings": {
142142
'GCC_OPTIMIZATION_LEVEL': '3', # stop gyp from defaulting to -Os
143143
"CLANG_CXX_LIBRARY": "libc++",

0 commit comments

Comments
 (0)