From fe6afbfa03b21a45fba549ab1d8bb387a17ae21b Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Tue, 5 Sep 2017 20:52:19 +0200 Subject: [PATCH] libtommath: set PREFIX when installing The default value is /usr/local and causes breakage in libtomcrypt & moarvm Fixes: http://autobuild.buildroot.net/results/a760063f05ae23f79920bc89ffc37e7dcf77aeab/ http://autobuild.buildroot.net/results/78c9bc9a21cfce48615b70d80b25dd4847bd803b/ Signed-off-by: Francois Perrad Signed-off-by: Thomas Petazzoni --- package/libtommath/libtommath.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/libtommath/libtommath.mk b/package/libtommath/libtommath.mk index 8e0b10ca24..ceb2e6846c 100644 --- a/package/libtommath/libtommath.mk +++ b/package/libtommath/libtommath.mk @@ -17,7 +17,7 @@ define LIBTOMMATH_BUILD_CMDS endef define LIBTOMMATH_INSTALL_STAGING_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(STAGING_DIR)" install + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(STAGING_DIR)" PREFIX=/usr install endef $(eval $(generic-package)) -- 2.30.2