Skip to content
This repository was archived by the owner on Jul 21, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions Formula/gawk.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ def install
guest_prefix = "/home/linuxbrew/.linuxbrew"
instrumented = buildpath/"gawk.instrumented"
kandelo_wasm_build do |root|
# The SDK site owns target facts; these probes are specific to gnulib and gawk.
ENV["gl_cv_func_strerror_0_works"] = "yes"
ENV["ac_cv_func_GetSystemTimeAsFileTime"] = "no"

system kandelo_configure, *kandelo_std_configure_args,
"--disable-nls",
"--disable-extensions",
Expand Down
3 changes: 0 additions & 3 deletions Formula/grep.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ def install
kandelo_require_arch!("wasm32")

kandelo_wasm_build do
# The SDK site owns target facts; this gnulib runtime probe is package-specific.
ENV["gl_cv_func_strerror_0_works"] = "yes"

system kandelo_configure, *kandelo_std_configure_args,
"--disable-nls",
"--disable-perl-regexp",
Expand Down
2 changes: 0 additions & 2 deletions Formula/gzip.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ def install
# from argv[0], matching Kandelo's executable-alias rootfs contract.
ENV.append "CPPFLAGS", "-DGNU_STANDARD=0"

ENV["gl_cv_func_strerror_0_works"] = "yes"

system kandelo_configure, *kandelo_std_configure_args, "--disable-nls"
system "make"
kandelo_validate_wasm_artifact(buildpath/"gzip", fork: :forbidden)
Expand Down
1 change: 0 additions & 1 deletion Formula/libpng.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def install
kandelo_wasm_build do
ENV["CPPFLAGS"] = "-I#{zlib}/include"
ENV["LDFLAGS"] = "-L#{zlib}/lib"
ENV["ac_cv_func_feenableexcept"] = "no"

system kandelo_configure, *kandelo_std_configure_args,
"--enable-static",
Expand Down
3 changes: 0 additions & 3 deletions Formula/m4.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ def install
kandelo_require_arch!("wasm32")

kandelo_wasm_build do
# The SDK site owns target facts; this gnulib runtime probe is package-specific.
ENV["gl_cv_func_strerror_0_works"] = "yes"

system kandelo_configure, *kandelo_std_configure_args,
"--disable-nls",
"--disable-dependency-tracking",
Expand Down
3 changes: 1 addition & 2 deletions Formula/make.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ def install
kandelo_require_arch!("wasm32")

kandelo_wasm_build do
# These runtime probes are package-specific; target facts stay in the SDK site file.
ENV["gl_cv_func_strerror_0_works"] = "yes"
# This package-specific runtime probe cannot run while cross-compiling.
ENV["make_cv_synchronous_posix_spawn"] = "yes"

system kandelo_configure, *kandelo_std_configure_args,
Expand Down
5 changes: 0 additions & 5 deletions Formula/nano.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ def install
ENV["NCURSESW_CFLAGS"] = "-I#{ncurses}/include"
ENV["NCURSESW_LIBS"] = "-L#{ncurses}/lib -lncursesw -ltinfow"

# The SDK site owns target facts; these are gnulib probes that cannot run
# while cross-compiling.
ENV["gl_cv_func_strerror_0_works"] = "yes"
ENV["gl_cv_func_working_getdelim"] = "yes"

system kandelo_configure, *kandelo_std_configure_args,
"--sysconfdir=#{guest_prefix}/etc",
"--disable-nls",
Expand Down
2 changes: 0 additions & 2 deletions Formula/sed.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ def install
kandelo_require_arch!("wasm32")

kandelo_wasm_build do
ENV["gl_cv_func_strerror_0_works"] = "yes"

system kandelo_configure, *kandelo_std_configure_args, "--disable-nls"
system "make"
kandelo_validate_wasm_artifact(buildpath/"sed/sed", fork: :forbidden)
Expand Down
11 changes: 0 additions & 11 deletions Formula/xz.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,6 @@ def install

kandelo_wasm_build do
ENV["CFLAGS"] = "-O2 -fPIC"
ENV["ac_cv_func_closedir_void"] = "no"
ENV["ac_cv_func_malloc_0_nonnull"] = "yes"
ENV["ac_cv_func_realloc_0_nonnull"] = "yes"
ENV["ac_cv_func_calloc_0_nonnull"] = "yes"
ENV["ac_cv_header_sys_capsicum_h"] = "no"
ENV["ac_cv_func_cap_rights_limit"] = "no"
ENV["ac_cv_sizeof_long"] = "4"
ENV["ac_cv_sizeof_long_long"] = "8"
ENV["ac_cv_sizeof_unsigned_long"] = "4"
ENV["ac_cv_sizeof_int"] = "4"
ENV["ac_cv_sizeof_size_t"] = "4"

system kandelo_configure, *kandelo_std_configure_args,
"--disable-nls",
Expand Down