guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch wip-file-offset-bits-64-sledgehammer updated: gnu: boost: Explici


From: guix-commits
Subject: branch wip-file-offset-bits-64-sledgehammer updated: gnu: boost: Explicity declare the _FILE_OFFSET_BITS we want.
Date: Sat, 03 Oct 2020 07:01:06 -0400

This is an automated email from the git hooks/post-receive script.

dannym pushed a commit to branch wip-file-offset-bits-64-sledgehammer
in repository guix.

The following commit(s) were added to 
refs/heads/wip-file-offset-bits-64-sledgehammer by this push:
     new 0458e67  gnu: boost: Explicity declare the _FILE_OFFSET_BITS we want.
0458e67 is described below

commit 0458e67095f317acbfebbe499606595e1cdd02a8
Author: Danny Milosavljevic <dannym@scratchpost.org>
AuthorDate: Sat Oct 3 12:23:56 2020 +0200

    gnu: boost: Explicity declare the _FILE_OFFSET_BITS we want.
    
    * gnu/packages/boost.scm (boost)[arguments]<#:phases>[build]: Add cflags,
    cxxflags.
---
 gnu/packages/boost.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/boost.scm b/gnu/packages/boost.scm
index d6bdefc..3d620e2 100644
--- a/gnu/packages/boost.scm
+++ b/gnu/packages/boost.scm
@@ -148,6 +148,8 @@
            (lambda* (#:key make-flags #:allow-other-keys)
              (apply invoke "./b2"
                     (format #f "-j~a" (parallel-job-count))
+                    (string-append "cflags=" (getenv "CFLAGS"))
+                    (string-append "cxxflags=" (getenv "CXXFLAGS"))
                     make-flags)))
          (replace 'install
            (lambda* (#:key make-flags #:allow-other-keys)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]