Skip to content

Commit

Permalink
Merge pull request #395 from wlevine/opt_fix
Browse files Browse the repository at this point in the history
Re-enable optimization
  • Loading branch information
translunar committed Aug 20, 2015
2 parents c8e3b11 + 455dccb commit f18c6c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/nmatrix/extconf.rb
Expand Up @@ -158,9 +158,9 @@ def gplusplus_version
#$libs += " -lprofiler "

# For release, these next two should both be changed to -O3.
$CFLAGS += " -O0 -g "
$CFLAGS += " -O3 "
#$CFLAGS += " -static -O0 -g "
$CPPFLAGS += " -O0 -g -std=#{$CPP_STANDARD} " #-fmax-errors=10 -save-temps
$CPPFLAGS += " -O3 -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)
Expand Down

0 comments on commit f18c6c9

Please sign in to comment.