diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 05c92ce617..d4e3aca21e 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -4198,7 +4198,8 @@ (define-public openlibm (build-system gnu-build-system) (arguments `(#:make-flags - (list (string-append "prefix=" (assoc-ref %outputs "out"))) + (list (string-append "prefix=" (assoc-ref %outputs "out")) + ,(string-append "CC=" (cc-for-target))) #:phases ;; no configure script (modify-phases %standard-phases (delete 'configure))