gnu: make-gccgo: Override empty GOROOT/GCCGOTOOLDIR
gnu/packages/gcc.scm (make-gccgo)[arguments]: Set tool paths (GOROOT and GCCGOTOOLDIR) even if they are already set to "". Signed-off-by: Efraim Flashner <efraim@flashner.co.il>master
parent
51bf893e53
commit
68d15fcf20
|
@ -871,9 +871,9 @@ provides the GNU compiler for the Go programming language.")
|
|||
(tooldir (dirname (car (find-files exedir "^cgo$")))))
|
||||
(wrap-program (string-append out "/bin/go")
|
||||
`("GCCGOTOOLDIR" =
|
||||
(,(string-append "${GCCGOTOOLDIR-" tooldir "}")))
|
||||
(,(string-append "${GCCGOTOOLDIR:-" tooldir "}")))
|
||||
`("GOROOT" =
|
||||
(,(string-append "${GOROOT-" out "}")))))))
|
||||
(,(string-append "${GOROOT:-" out "}")))))))
|
||||
(add-before 'configure 'fix-gotools-runpath
|
||||
(lambda _
|
||||
(substitute* "gotools/Makefile.in"
|
||||
|
|
Reference in New Issue