nonguix: Set default build-inputs priority higher than libc32 in binary-build-system.

* nonguix/build-system/binary.scm (lower): Swap native-inputs and libc32 in
  build-inputs.  In particular, this fixes static linking with GCC.
This commit is contained in:
Pierre Neidhardt 2020-05-17 14:33:24 +02:00
parent c6e79750d7
commit da95ca97d4

View file

@ -82,10 +82,10 @@
;; Keep the standard inputs of 'gnu-build-system'.
,@(standard-packages)))
(build-inputs `(("patchelf" ,patchelf)
,@native-inputs
;; If current system is i686, the *32 packages will be the
;; same as the non-32, but that's OK.
("libc32" ,(to32 glibc))
,@native-inputs))
("libc32" ,(to32 glibc))))
(outputs outputs)
(build binary-build)
(arguments (strip-keyword-arguments private-keywords arguments)))))