guix-commits
[Top][All Lists]
Advanced

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

07/08: gnu: boost: Explicity declare the _FILE_OFFSET_BITS we want.


From: guix-commits
Subject: 07/08: gnu: boost: Explicity declare the _FILE_OFFSET_BITS we want.
Date: Sun, 4 Oct 2020 03:30:12 -0400 (EDT)

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

commit 83ecbae3123cbe8fd3cb6e0d8f72f9a152b902b4
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]