Message ID | c4cc0b074103a36d8fc2b478bad4e4df9f38eec3.1692348727.git.arunisaac@systemreboot.net |
---|---|
State | New |
Headers | show |
Series | [bug#65351,1/7] gnu: cgit: Make git-source a native input. | expand |
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index e2afd92286..398194252e 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -1041,7 +1041,8 @@ (define-public cgit (arguments (list #:tests? #f ; XXX: fail to build the in-source git. #:test-target "test" - #:make-flags #~(list "CC=gcc" "SHELL_PATH=sh") + #:make-flags #~(list (string-append "CC=" #$(cc-for-target)) + "SHELL_PATH=sh") #:phases #~(modify-phases %standard-phases (add-after 'unpack 'unpack-git