me
/
guix
Archived
1
0
Fork 0

gnu: libmaxminddb: Cross-compile.

* gnu/packages/geo.scm (libmaxminddb)[arguments]: Use CC-FOR-TARGET.
Pass CC as a make flag instead of an environment variable.
master
Tobias Geerinckx-Rice 2020-08-11 16:24:03 +02:00
parent 07c0b3cea2
commit 2113ddb742
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 2 additions and 5 deletions

View File

@ -1359,11 +1359,8 @@ ways, and relations) and their metadata tags.")
(base32 "0fd4a4sxiiwzbd5h74wl1ijnb7xybjyybb7q41vdq3w8nk3zdzd5"))))
(build-system gnu-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-before 'configure 'set-cc-to-gcc
(lambda _
(setenv "CC" "gcc"))))))
`(#:make-flags
(list ,(string-append "CC=" (cc-for-target)))))
(native-inputs
`(("perl" ,perl)))
(home-page "https://maxmind.github.io/libmaxminddb/")