Skip to content

Commit

Permalink
feat: update firefox to 128.0.3-1
Browse files Browse the repository at this point in the history
- Sync LoongArch patches from AOSC-Tracking/firefox @ aosc/v128.0.3.
- Add a patch for default AMDGPU VA-API enablement.
  • Loading branch information
MingcongBai committed Jul 30, 2024
1 parent af62408 commit dbaf1a0
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
7 changes: 7 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
firefox (128.0.3-1deepin1) unstable; urgency=medium

* Sync patches from AOSC-Tracking/firefox @ aosc/128.0.3.
* Use Clang to fix build on loong64.

-- Mingcong Bai <[email protected]> Tue, 30 Jul 2024 16:24:56 +0800

firefox (128.0.3-1) unstable; urgency=medium

* New upstream release.
Expand Down
14 changes: 12 additions & 2 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,16 @@ export MOZBUILD_STATE_PATH = $(CURDIR)/debian/.mozbuild

LDFLAGS += -Wl,--as-needed

# Note: Load this first for $DEB_BUILD_ARCH.
include /usr/share/dpkg/architecture.mk

# Note: _STRIP operations needs to be done before including buildflags.mk.
ifeq ($(DEB_BUILD_ARCH),loong64)
# FIXME: -mlsx is not yet available for Clang.
export DEB_CFLAGS_MAINT_STRIP = -mlsx
export DEB_CXXFLAGS_MAINT_STRIP = -mlsx
endif

# Disable debug symbols when building on 32-bits machines, because
# a) the rust compiler can't deal with it in the available address
# space, and b) the linker can't deal with it in the available address space
Expand Down Expand Up @@ -133,10 +143,10 @@ ifneq (,$(filter mips%,$(DEB_HOST_ARCH)))
endif

ifeq (default,$(origin CC))
CC := gcc
CC := clang
endif
ifeq (default,$(origin CXX))
CXX := g++
CXX := clang++
endif

ifneq (,$(filter mips mipsel,$(DEB_HOST_ARCH)))
Expand Down

0 comments on commit dbaf1a0

Please sign in to comment.