Skip to content

Commit 63b3ac8

Browse files
ahogappakateinoigakukun
authored andcommitted
fix: add `gcc' configure option to openssl product
1 parent cfd8df7 commit 63b3ac8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/ruby_wasm/build_system/product/openssl.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ def name
3131

3232
def configure_args
3333
args = %w[
34+
gcc
3435
-static
3536
-no-asm
3637
-no-threads
@@ -64,7 +65,7 @@ def build
6465
system "./Configure #{configure_args.join(" ")}", chdir: product_build_dir
6566
# Use "install_sw" instead of "install" because it tries to install docs and it's very slow.
6667
# OpenSSL build system doesn't have well support for parallel build, so force -j1.
67-
system "make -j1 install_sw DESTDIR=#{destdir} CNF_CFLAGS='' CNF_LDFLAGS=''", chdir: product_build_dir
68+
system "make -j1 install_sw DESTDIR=#{destdir}", chdir: product_build_dir
6869
end
6970
end
7071
end

0 commit comments

Comments
 (0)