From 9ab88439a190b55a9d7e70c59ebc357fdd473f89 Mon Sep 17 00:00:00 2001
From: nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Thu, 4 Jun 2015 21:44:52 +0000
Subject: [PATCH] gmp: disable assembly to fix build on systems that use PIE
 binaries

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45887 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 tools/gmp/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/gmp/Makefile b/tools/gmp/Makefile
index b1976d0cc3..fac05e3568 100644
--- a/tools/gmp/Makefile
+++ b/tools/gmp/Makefile
@@ -24,6 +24,7 @@ unexport CFLAGS
 HOST_CONFIGURE_ARGS += \
 	--enable-static \
 	--disable-shared \
+	--disable-assembly \
 	--enable-cxx \
 	--enable-mpbsd
 
-- 
GitLab