Sha256: 5c685bc2eef4fe17084815831709ec954a5961ccb622fef26e390965c6dbe9cd
Contents?: true
Size: 404 Bytes
Versions: 1
Compression:
Stored size: 404 Bytes
Contents
# frozen_string_literal: true # rubocop:disable Style/GlobalVars def add_cflags flags print "checking if the C compiler accepts #{flags}... " with_cflags("#{$CFLAGS} #{flags}") do if test_compile puts 'OK' true else puts "\rC compiler does not accept #{flags}" false end end end def test_compile try_compile "int main() {return 0;}", "", {werror: true} end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
x25519-termux-1.1.0 | ext/extconf_helpers.rb |