From f90da35d026b5684299a09a7db54e448c8947556 Mon Sep 17 00:00:00 2001 From: Lauri Tirkkonen Date: Wed, 2 Aug 2017 16:09:31 +0300 Subject: [PATCH] gmp, glib: explicit UNAME_LEGACY until config.guess knows about our uname, we need to set legacy uname for pretty much all of userland; we can do that with 'puname gmake' for most cases but gmp and glib builds clear the environment with 'env -i' so we need this workaround for them. --- components/library/glib/Makefile | 1 + components/library/gmp/Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/components/library/glib/Makefile b/components/library/glib/Makefile index 830756ab1..30cf0fd9d 100644 --- a/components/library/glib/Makefile +++ b/components/library/glib/Makefile @@ -54,6 +54,7 @@ COMPONENT_BUILD_ENV += DFLAGS=$(DFLAGS.$(BITS)) # Otherwise tests fail ENV = /usr/bin/env -i +CONFIGURE_ENV += UNAME_LEGACY= build: $(BUILD_32_and_64) diff --git a/components/library/gmp/Makefile b/components/library/gmp/Makefile index 1de356f47..54b287ea6 100644 --- a/components/library/gmp/Makefile +++ b/components/library/gmp/Makefile @@ -135,6 +135,7 @@ COMPONENT_POST_INSTALL_ACTION = \ $(PROTOUSRSHAREMAN3DIR)/ ) ENV += -i +CONFIGURE_ENV += UNAME_LEGACY= build: $(BUILD_32_and_64) -- 2.11.4.GIT