mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-13 02:20:53 +02: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 @@ For synthesis, the compiler generates netlists in the desired format.")
|
|||
(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…
Add table
Add a link
Reference in a new issue