diff --git a/Formula/gawk.rb b/Formula/gawk.rb index d33214c..2e30e3c 100644 --- a/Formula/gawk.rb +++ b/Formula/gawk.rb @@ -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", diff --git a/Formula/grep.rb b/Formula/grep.rb index 2e717bb..84b8f28 100644 --- a/Formula/grep.rb +++ b/Formula/grep.rb @@ -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", diff --git a/Formula/gzip.rb b/Formula/gzip.rb index 0df8466..098a491 100644 --- a/Formula/gzip.rb +++ b/Formula/gzip.rb @@ -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) diff --git a/Formula/libpng.rb b/Formula/libpng.rb index ae4d2ab..1f76301 100644 --- a/Formula/libpng.rb +++ b/Formula/libpng.rb @@ -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", diff --git a/Formula/m4.rb b/Formula/m4.rb index a25c4c3..2b97880 100644 --- a/Formula/m4.rb +++ b/Formula/m4.rb @@ -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", diff --git a/Formula/make.rb b/Formula/make.rb index 728a3ef..2c11f79 100644 --- a/Formula/make.rb +++ b/Formula/make.rb @@ -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, diff --git a/Formula/nano.rb b/Formula/nano.rb index 37746f8..54b8114 100644 --- a/Formula/nano.rb +++ b/Formula/nano.rb @@ -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", diff --git a/Formula/sed.rb b/Formula/sed.rb index db5a64d..52389dd 100644 --- a/Formula/sed.rb +++ b/Formula/sed.rb @@ -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) diff --git a/Formula/xz.rb b/Formula/xz.rb index 0210cd4..228c32e 100644 --- a/Formula/xz.rb +++ b/Formula/xz.rb @@ -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",