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.
This commit is contained in:
Efraim Flashner 2022-06-12 11:50:14 +03:00
parent 3cbef19a90
commit e22b55f0b9
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -577,9 +577,9 @@ (define-public llvm-14
;; These options are required for cross-compiling LLVM according
;; to <https://llvm.org/docs/HowToCrossCompileLLVM.html>.
#$@(if (%current-target-system)
#~(,(string-append "-DLLVM_TABLEGEN="
#+(file-append this-package
"/bin/llvm-tblgen"))
#~((string-append "-DLLVM_TABLEGEN="
#+(file-append this-package
"/bin/llvm-tblgen"))
#$(string-append "-DLLVM_DEFAULT_TARGET_TRIPLE="
(%current-target-system))
#$(string-append "-DLLVM_TARGET_ARCH="