ports/www/ruby-raindrops/patches/patch-ext_raindrops_extconf_rb

22 lines
606 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
--- ext/raindrops/extconf.rb.orig Wed Feb 22 13:17:45 2017
+++ ext/raindrops/extconf.rb Wed Feb 22 13:18:16 2017
@@ -31,18 +31,6 @@ SRC
if try_link(src)
$defs.push(format("-DHAVE_GCC_ATOMIC_BUILTINS"))
true
- else
- # some compilers still target 386 by default, but we need at least 486
- # to run atomic builtins.
- prev_cflags = $CFLAGS
- $CFLAGS += " -march=i486 "
- if try_link(src)
- $defs.push(format("-DHAVE_GCC_ATOMIC_BUILTINS"))
- true
- else
- prev_cflags = $CFLAGS
- false
- end
end
end or have_header('atomic_ops.h') or abort <<-SRC