diff --git a/ext/extconf.rb b/ext/extconf.rb index 54c1bd3..1c4fa83 100644 --- a/ext/extconf.rb +++ b/ext/extconf.rb @@ -7,7 +7,7 @@ BUNDLE_PATH = BUNDLE.sub(".tar.gz", "") $CFLAGS = "#{RbConfig::CONFIG['CFLAGS']} #{$CFLAGS}".gsub("$(cflags)", "") $LDFLAGS = "#{RbConfig::CONFIG['LDFLAGS']} #{$LDFLAGS}".gsub("$(ldflags)", "") -$CXXFLAGS = " -std=gnu++98" +$CXXFLAGS = " -std=gnu++98 #{$CFLAGS}" $CPPFLAGS = $ARCH_FLAG = $DLDFLAGS = "" if ENV['DEBUG']