gnu: llvm-14: Fix configure-flags for cross-compiling.
* gnu/packages/llvm.scm (llvm-14)[arguments]: Fix syntax error in configure-flags when cross-compiling llvm.master
parent
3cbef19a90
commit
e22b55f0b9
|
@ -577,9 +577,9 @@ output), and Binutils.")
|
||||||
;; These options are required for cross-compiling LLVM according
|
;; These options are required for cross-compiling LLVM according
|
||||||
;; to <https://llvm.org/docs/HowToCrossCompileLLVM.html>.
|
;; to <https://llvm.org/docs/HowToCrossCompileLLVM.html>.
|
||||||
#$@(if (%current-target-system)
|
#$@(if (%current-target-system)
|
||||||
#~(,(string-append "-DLLVM_TABLEGEN="
|
#~((string-append "-DLLVM_TABLEGEN="
|
||||||
#+(file-append this-package
|
#+(file-append this-package
|
||||||
"/bin/llvm-tblgen"))
|
"/bin/llvm-tblgen"))
|
||||||
#$(string-append "-DLLVM_DEFAULT_TARGET_TRIPLE="
|
#$(string-append "-DLLVM_DEFAULT_TARGET_TRIPLE="
|
||||||
(%current-target-system))
|
(%current-target-system))
|
||||||
#$(string-append "-DLLVM_TARGET_ARCH="
|
#$(string-append "-DLLVM_TARGET_ARCH="
|
||||||
|
|
Reference in New Issue