From ebee2f4719dd9fc08a4591211cc515ab1d8db873 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Fri, 22 Feb 2019 15:52:56 +0100 Subject: [PATCH] gnu: gn: Update to commit 1ab6fa2cab7ec64840db720a56018ca8939329f9. * gnu/packages/build-tools.scm (gn): Update to 0.0-1530.1ab6fa2. [arguments]: Add LDFLAGS. Remove obsolete configure flag. --- gnu/packages/build-tools.scm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm index 970aeabd89..daf55d84df 100644 --- a/gnu/packages/build-tools.scm +++ b/gnu/packages/build-tools.scm @@ -100,8 +100,8 @@ (define-public bear (license license:gpl3+))) (define-public gn - (let ((commit "f73698ebb33e26a0bf120e2b55d12528fd1dbe7d") - (revision "1481")) ;as returned by `git describe`, used below + (let ((commit "1ab6fa2cab7ec64840db720a56018ca8939329f9") + (revision "1530")) ;as returned by `git describe`, used below (package (name "gn") (version (git-version "0.0" revision commit)) @@ -111,7 +111,7 @@ (define-public gn (uri (git-reference (url home-page) (commit commit))) (sha256 (base32 - "078ydwak4424bkqh3hd7q955zxp2c3qlw44lsb29i8jqap140f9d")) + "06h974d1lag3wwsz6s5asmpv0njmf671ag4la2fpnbh494m97lfk")) (file-name (git-file-name name version)))) (build-system gnu-build-system) (arguments @@ -121,10 +121,11 @@ (define-public gn (lambda _ (setenv "CC" "gcc") (setenv "CXX" "g++") (setenv "AR" "ar") + (setenv "LDFLAGS" "-pthread") #t)) (replace 'configure (lambda _ - (invoke "python" "build/gen.py" "--no-sysroot" + (invoke "python" "build/gen.py" "--no-last-commit-position"))) (add-after 'configure 'create-last-commit-position (lambda _