From 0458e67095f317acbfebbe499606595e1cdd02a8 Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Sat, 3 Oct 2020 12:23:56 +0200 Subject: 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 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) -- cgit 1.4.1