summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2019-02-22 15:52:56 +0100
committerMarius Bakke <mbakke@fastmail.com>2019-02-22 17:10:24 +0100
commitebee2f4719dd9fc08a4591211cc515ab1d8db873 (patch)
tree58d68d300cca89757b86b02bf8035fbb920c11c0
parentf2945c26a970104fb05de2b0a9d9038f3a4d2fd4 (diff)
downloadguix-ebee2f4719dd9fc08a4591211cc515ab1d8db873.tar.gz
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.
-rw-r--r--gnu/packages/build-tools.scm9
1 files 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 @@ 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 _