Sha256: 236b8faa43089cee4f25000fa2e527846cb3b35758a62319a71754351eacddae

Contents?: true

Size: 334 Bytes

Versions: 1

Compression:

Stored size: 334 Bytes

Contents

# frozen_string_literal: true

# rubocop:disable Style/GlobalVars

require "mkmf"

if RUBY_PLATFORM =~ /arm64-darwin|aarch64-linux/
  File.write("Makefile", "install clean: ;")
else
  $CFLAGS << " -Wall -O3 -pedantic -std=c99 -mbmi -mbmi2 -march=haswell"

  create_makefile "x25519_precomputed"
end

# rubocop:enable Style/GlobalVars

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
x25519-1.0.10 ext/x25519_precomputed/extconf.rb