Skip to content

Commit

Permalink
Merge pull request rubyjs#11 from joshado/fix_ruby23_build
Browse files Browse the repository at this point in the history
Fixes the build $CPPFLAGS regex halting our builds
  • Loading branch information
cataphract authored Nov 9, 2018
2 parents cbd47da + ce1b678 commit 316b30f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/mini_racer_extension/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

have_library('pthread')
have_library('objc') if IS_DARWIN
$CPPFLAGS.gsub! /-std=\w+/, ''
$CPPFLAGS.gsub! /-std=[^\s]+/, ''
$CPPFLAGS += " -Wall" unless $CPPFLAGS.split.include? "-Wall"
$CPPFLAGS += " -g" unless $CPPFLAGS.split.include? "-g"
$CPPFLAGS += " -rdynamic" unless $CPPFLAGS.split.include? "-rdynamic"
Expand Down

0 comments on commit 316b30f

Please sign in to comment.