Skip to content

Commit

Permalink
Bumped optimization up
Browse files Browse the repository at this point in the history
  • Loading branch information
translunar committed Sep 19, 2013
1 parent f4f2666 commit 444e656
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ext/nmatrix/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -228,10 +228,10 @@ def gplusplus_version #:nodoc:
end

# For release, these next two should both be changed to -O3.
#$CFLAGS += " -O3 " #" -O0 -g "
$CFLAGS += " -static -O0 -g "
#$CPPFLAGS += " -O3 -std=#{$CPP_STANDARD} " #" -O0 -g -std=#{$CPP_STANDARD} " #-fmax-errors=10 -save-temps
$CPPFLAGS += " -static -O0 -g -std=#{$CPP_STANDARD} "
$CFLAGS += " -O3 " #" -O0 -g "
#$CFLAGS += " -static -O0 -g "
$CPPFLAGS += " -O3 -std=#{$CPP_STANDARD} " #" -O0 -g -std=#{$CPP_STANDARD} " #-fmax-errors=10 -save-temps
#$CPPFLAGS += " -static -O0 -g -std=#{$CPP_STANDARD} "

CONFIG['warnflags'].gsub!('-Wshorten-64-to-32', '') # doesn't work except in Mac-patched gcc (4.2)
CONFIG['warnflags'].gsub!('-Wdeclaration-after-statement', '')
Expand Down

0 comments on commit 444e656

Please sign in to comment.