Skip to content

Commit

Permalink
mold: update to 1.0.3.
Browse files Browse the repository at this point in the history
mold 1.0.3 is a maintenance release of the high-speed linker. It contains
only the following bug fix:

build-static.sh didn't create a statically-linked mold executable (#315).
The problem is now fixed. (601b9e6)
  • Loading branch information
fcambus committed Feb 1, 2022
1 parent 56e71c2 commit 5ec6184
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions devel/mold/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.7 2022/01/31 22:44:55 fcambus Exp $
# $NetBSD: Makefile,v 1.8 2022/02/01 14:21:51 fcambus Exp $

DISTNAME= mold-1.0.2
DISTNAME= mold-1.0.3
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=rui314/}
GITHUB_TAG= v${PKGVERSION_NOREV}
Expand Down
10 changes: 5 additions & 5 deletions devel/mold/distinfo
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.9 2022/01/31 22:44:55 fcambus Exp $
$NetBSD: distinfo,v 1.10 2022/02/01 14:21:51 fcambus Exp $

BLAKE2s (mold-1.0.2.tar.gz) = b0c37210c716b5b252ee3b57c1e232056dec2ebf0ff6494c9634b19c4b5d63a4
SHA512 (mold-1.0.2.tar.gz) = 27f6664e63c76c32a6e3ec8bfc4b204138926001f5431be94da9ce47a5d9d3b51aa634c5cd6df45be660d52ac0507f7b7eec17134e35db402db5747d2ecc3715
Size (mold-1.0.2.tar.gz) = 4501088 bytes
SHA1 (patch-Makefile) = 4da9e8cf4b5be616027bce527865e683249bfb4c
BLAKE2s (mold-1.0.3.tar.gz) = 26f2d46b7595debc2b26dcb8728dea8c574bb4b409760d728460b5d995801a96
SHA512 (mold-1.0.3.tar.gz) = 50b4a80c8b7a4925e6e85a35e92529867648df61ca016ee662b3fce7cf9d4a8fd717311ec0542aa594f44b49d48de34d51d7e94cae0f21bda01fdd4418990f38
Size (mold-1.0.3.tar.gz) = 4501162 bytes
SHA1 (patch-Makefile) = 58f8bd9fe926274220ce2f925ba9f26351f0e8cd
6 changes: 3 additions & 3 deletions devel/mold/patches/patch-Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
$NetBSD: patch-Makefile,v 1.6 2022/01/31 22:44:55 fcambus Exp $
$NetBSD: patch-Makefile,v 1.7 2022/02/01 14:21:51 fcambus Exp $

- Honour CFLAGS and CXXFLAGS
- Do not hard-code -pthread, as it is handled by the pkgsrc infrastructure.

--- Makefile.orig 2022-01-23 08:19:40.000000000 +0000
--- Makefile.orig 2022-01-30 10:39:38.000000000 +0000
+++ Makefile
@@ -34,14 +34,14 @@ endif

Expand All @@ -15,7 +15,7 @@ $NetBSD: patch-Makefile,v 1.6 2022/01/31 22:44:55 fcambus Exp $
+CXXFLAGS ?= -O2

MOLD_CXXFLAGS = -std=c++20 -fno-exceptions -fno-unwind-tables \
-fno-asynchronous-unwind-tables -DMOLD_VERSION=\"1.0.2\" \
-fno-asynchronous-unwind-tables -DMOLD_VERSION=\"1.0.3\" \
-DLIBDIR="\"$(LIBDIR)\""

-MOLD_LDFLAGS = -pthread -lz -lm
Expand Down

0 comments on commit 5ec6184

Please sign in to comment.