head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2026.08.27.01.23.16; author gutteridge; state Exp; branches; next ; commitid jHXIs10wmSYxkdTG; desc @@ 1.1 log @firefox153: import Firefox 153.1 as www/firefox153 Mozilla Firefox is a free, open-source and cross-platform web browser for Windows, Linux, MacOS X and many other operating systems. It is fast and easy to use, and offers many advantages over other web browsers, such as tabbed browsing and the ability to block pop-up windows. Firefox also offers excellent bookmark and history management, and it can be extended by developers using industry standards such as XML, CSS, JavaScript, C++, etc. Many extensions are available. Note: Due to upstream's trademark policies, this package identifies as "Nightly" rather than "Firefox" by default. This package provides Firefox 153 Extended Support Release. @ text @$NetBSD: patch-config_makefiles_rust.mk,v 1.15 2025/10/27 14:24:33 ryoon Exp $ NetBSD doesn't get along with parallel rust builds (it causes issues with ld.so) which are the default. Force -j1. Use less memory to fix build under NetBSD/i386. From: https://bugzilla.mozilla.org/show_bug.cgi?id=1644409 --- config/makefiles/rust.mk.orig 2025-10-03 13:17:55.000000000 +0000 +++ config/makefiles/rust.mk @@@@ -60,6 +60,9 @@@@ ifdef MOZ_TSAN cargo_build_flags += -Zbuild-std=std,panic_abort RUSTFLAGS += -Zsanitizer=thread endif +ifeq ($(OS_ARCH),NetBSD) +cargo_build_flags += @@RUST_MAKE_JOBS@@ +endif rustflags_sancov = ifndef MOZ_TSAN @@@@ -101,7 +104,8 @@@@ ifndef rustflags_sancov # Never enable when coverage is enabled to work around https://github.com/rust-lang/rust/issues/90045. ifndef MOZ_CODE_COVERAGE ifeq (,$(findstring gkrust_gtest,$(RUST_LIBRARY_FILE))) -cargo_rustc_flags += -Clto$(if $(filter full,$(MOZ_LTO_RUST_CROSS)),=fat) +cargo_rustc_flags += -Clto=thin +export CARGO_PROFILE_RELEASE_LTO=thin endif # We need -Cembed-bitcode=yes for all crates when using -Clto. RUSTFLAGS += -Cembed-bitcode=yes @