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:
parent
f2945c26a9
commit
ebee2f4719
|
@ -100,8 +100,8 @@ generate such a compilation database.")
|
|||
(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 @@ generate such a compilation database.")
|
|||
(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 @@ generate such a compilation database.")
|
|||
(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 _
|
||||
|
|
Loading…
Reference in New Issue