Skip to content

Commit

Permalink
Delete commented out lines
Browse files Browse the repository at this point in the history
  • Loading branch information
joshcooper committed Apr 4, 2024
1 parent 4bd58e5 commit 1d7cd83
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions configs/components/openssl-3.0.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,26 +28,6 @@
pkg.environment 'MAKE', platform[:make]

target = platform.architecture == 'x64' ? 'mingw64' : 'mingw'
# elsif platform.is_cross_compiled_linux?
# pkg.environment 'PATH', "/opt/pl-build-tools/bin:$(PATH)"
# pkg.environment 'CC', "/opt/pl-build-tools/bin/#{settings[:platform_triple]}-gcc"

# cflags = "#{settings[:cflags]} -fPIC"
# if platform.architecture =~ /aarch/
# # OpenSSL fails to work on aarch unless we turn down the compiler optimization.
# # See PA-2135 for details
# cflags += " -O2"
# end
# ldflags = "-Wl,-rpath=/opt/pl-build-tools/#{settings[:platform_triple]}/lib -Wl,-rpath=#{settings[:libdir]} -L/opt/pl-build-tools/#{settings[:platform_triple]}/lib"
# target = if platform.architecture == 'aarch64'
# 'linux-aarch64'
# elsif platform.name =~ /debian-8-arm/
# 'linux-armv4'
# elsif platform.architecture =~ /ppc64le|ppc64el/ # Little-endian
# 'linux-ppc64le'
# elsif platform.architecture =~ /ppc64/ # Big-endian
# 'linux-ppc64'
# end
elsif platform.is_aix?
raise "openssl-3.0 is not supported on older AIX" if platform.name == 'aix-7.1-ppc'

Expand Down Expand Up @@ -147,7 +127,6 @@
configure_flags << 'no-legacy' << 'no-md4'
end


# Individual projects may provide their own openssl configure flags:
project_flags = settings[:openssl_extra_configure_flags] || []
perl_exec = ''
Expand Down Expand Up @@ -200,11 +179,6 @@

# Skip man and html docs
install_commands << "#{platform[:make]} #{install_prefix} install_sw install_ssldirs"

# if settings[:runtime_project] == 'pdk'
# install_commands << "rm -f #{settings[:prefix]}/bin/{openssl,c_rehash}"
# end

install_commands << "rm -f #{settings[:prefix]}/bin/c_rehash"

pkg.install do
Expand Down

0 comments on commit 1d7cd83

Please sign in to comment.