mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 21:46:35 +01:00
gnu: yosys: Do not hard-code CC and CXX make flags.
* gnu/packages/fpga.scm (yosys) [make-flags]: Use cc-for-target and cxx-for-target procedures to compute the correct CC and CXX flags. Change-Id: I2a81f09ff7d6891d78ad157594bb0d96c38451f8
This commit is contained in:
parent
744e8f7d04
commit
badcd4a79f
1 changed files with 2 additions and 2 deletions
|
@ -164,8 +164,8 @@ (define-public yosys
|
|||
(arguments
|
||||
(list
|
||||
#:test-target "test"
|
||||
#:make-flags #~(list "CC=gcc"
|
||||
"CXX=g++"
|
||||
#:make-flags #~(list (string-append "CC=" #$(cc-for-target))
|
||||
(string-append "CXX=" #$(cxx-for-target))
|
||||
(string-append "PREFIX=" #$output))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
|
|
Loading…
Reference in a new issue