ext/raindrops/extconf.rb in raindrops-0.19.0 vs ext/raindrops/extconf.rb in raindrops-0.19.1
- old
+ new
@@ -141,10 +141,10 @@
$CFLAGS += " -march=i486 "
if try_link(src)
$defs.push(format("-DHAVE_GCC_ATOMIC_BUILTINS"))
true
else
- prev_cflags = $CFLAGS
+ $CFLAGS = prev_cflags
false
end
end
end or have_header('atomic_ops.h') or abort <<-SRC