From da95ca97d4fce779cfeec2824c1aaa757fbd2009 Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Sun, 17 May 2020 14:33:24 +0200 Subject: 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. --- nonguix/build-system/binary.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nonguix') diff --git a/nonguix/build-system/binary.scm b/nonguix/build-system/binary.scm index 2ec1261..038bd89 100644 --- a/nonguix/build-system/binary.scm +++ b/nonguix/build-system/binary.scm @@ -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))))) -- cgit v1.2.3