aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/gmp/Makefile2
-rw-r--r--rules/autotools.mk1
2 files changed, 2 insertions, 1 deletions
diff --git a/examples/gmp/Makefile b/examples/gmp/Makefile
index 3539793..eec700f 100644
--- a/examples/gmp/Makefile
+++ b/examples/gmp/Makefile
@@ -14,7 +14,7 @@ build-depends += \
configure-options += --enable-cxx
# http://gmplib.org/manual/ABI-and-ISA.html
-configure-options += ABI=$(bits)
+configure-options.32 += ABI=32
name := gmp
home := http://www.gnu.org/software/$(name)/
diff --git a/rules/autotools.mk b/rules/autotools.mk
index ab94562..1f0d74f 100644
--- a/rules/autotools.mk
+++ b/rules/autotools.mk
@@ -37,6 +37,7 @@ configure-env = \
configure-options = \
+ $(configure-options.$(bits)) \
--prefix="$(prefix)" \
--libdir="$(libdir)" \
--bindir="$(bindir)" \