Skip to content

Commit cfd8df7

Browse files
ahogappakateinoigakukun
authored andcommitted
fix: claer CFLAGS and LDFLAGS for openssl product
1 parent c1ed630 commit cfd8df7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ruby_wasm/build_system/product/openssl.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def build
6464
system "./Configure #{configure_args.join(" ")}", chdir: product_build_dir
6565
# Use "install_sw" instead of "install" because it tries to install docs and it's very slow.
6666
# OpenSSL build system doesn't have well support for parallel build, so force -j1.
67-
system "make -j1 install_sw DESTDIR=#{destdir}", chdir: product_build_dir
67+
system "make -j1 install_sw DESTDIR=#{destdir} CNF_CFLAGS='' CNF_LDFLAGS=''", chdir: product_build_dir
6868
end
6969
end
7070
end

0 commit comments

Comments
 (0)