summary refs log tree commit diff
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2020-10-03 12:23:56 +0200
committerDanny Milosavljevic <dannym@scratchpost.org>2020-10-03 12:23:56 +0200
commit0458e67095f317acbfebbe499606595e1cdd02a8 (patch)
treebe9a4d0b211c2dd821cc0907559690f352a4de8f
parent7af5f162a5e43e90793dcdb85aba4cd29f86ac1f (diff)
downloadguix-0458e67095f317acbfebbe499606595e1cdd02a8.tar.gz
gnu: boost: Explicity declare the _FILE_OFFSET_BITS we want.
* gnu/packages/boost.scm (boost)[arguments]<#:phases>[build]: Add cflags,
cxxflags.
-rw-r--r--gnu/packages/boost.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/packages/boost.scm b/gnu/packages/boost.scm
index d6bdefcf83..3d620e2e26 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)