Skip to content

Commit 8378681

Browse files
authored
Merge pull request #158 from glebm/patch-3
Default --march-tune-native to false
2 parents 7cbb577 + d492298 commit 8378681

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ext/extconf.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@
1919
$LDFLAGS << ' -static-libgcc -static-libstdc++'
2020
end
2121

22-
# Set to false when building binary gems
23-
if enable_config('march-tune-native', true)
22+
if enable_config('march-tune-native', false)
2423
$CFLAGS << ' -march=native -mtune=native'
2524
$CXXFLAGS << ' -march=native -mtune=native'
2625
end

0 commit comments

Comments
 (0)