summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2020-11-17 02:31:05 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2020-11-17 04:45:30 +0100
commit71bb7332d8f1556ff10c6677cdd5ace682dae51a (patch)
tree1c347ca88942e279b3c615809aaffe1701d1c162
parent0ac2e11b4b1ef0e847a04b6a5dcc2d4d2465627e (diff)
gnu: livemedia-utils: Cross-compile.
* gnu/packages/video.scm (livemedia-utils)[arguments]: Use CC-FOR-TARGET and CXX-FOR-TARGET.
-rw-r--r--gnu/packages/video.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 54510543b5..5beaf3c186 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -3810,8 +3810,9 @@ iTunes-style metadata.")
"1dx5imjil5yiya5dqlvbqkvzgic5pybsfilx5jz1cpi1znkzpgc9"))))
(build-system gnu-build-system)
(arguments
- '(#:tests? #f ; no tests
- #:make-flags (list "CC=gcc"
+ `(#:tests? #f ; no tests
+ #:make-flags (list (string-append "CC=" ,(cc-for-target))
+ (string-append "CXX=" ,(cxx-for-target))
(string-append "LDFLAGS=-Wl,-rpath="
(assoc-ref %outputs "out") "/lib")
(string-append "PREFIX="