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.
This commit is contained in:
Marius Bakke 2019-02-22 15:52:56 +01:00
parent f2945c26a9
commit ebee2f4719
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 5 additions and 4 deletions

View File

@ -100,8 +100,8 @@ generate such a compilation database.")
(license license:gpl3+))) (license license:gpl3+)))
(define-public gn (define-public gn
(let ((commit "f73698ebb33e26a0bf120e2b55d12528fd1dbe7d") (let ((commit "1ab6fa2cab7ec64840db720a56018ca8939329f9")
(revision "1481")) ;as returned by `git describe`, used below (revision "1530")) ;as returned by `git describe`, used below
(package (package
(name "gn") (name "gn")
(version (git-version "0.0" revision commit)) (version (git-version "0.0" revision commit))
@ -111,7 +111,7 @@ generate such a compilation database.")
(uri (git-reference (url home-page) (commit commit))) (uri (git-reference (url home-page) (commit commit)))
(sha256 (sha256
(base32 (base32
"078ydwak4424bkqh3hd7q955zxp2c3qlw44lsb29i8jqap140f9d")) "06h974d1lag3wwsz6s5asmpv0njmf671ag4la2fpnbh494m97lfk"))
(file-name (git-file-name name version)))) (file-name (git-file-name name version))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
@ -121,10 +121,11 @@ generate such a compilation database.")
(lambda _ (lambda _
(setenv "CC" "gcc") (setenv "CXX" "g++") (setenv "CC" "gcc") (setenv "CXX" "g++")
(setenv "AR" "ar") (setenv "AR" "ar")
(setenv "LDFLAGS" "-pthread")
#t)) #t))
(replace 'configure (replace 'configure
(lambda _ (lambda _
(invoke "python" "build/gen.py" "--no-sysroot" (invoke "python" "build/gen.py"
"--no-last-commit-position"))) "--no-last-commit-position")))
(add-after 'configure 'create-last-commit-position (add-after 'configure 'create-last-commit-position
(lambda _ (lambda _