summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-11-05 06:11:40 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2010-11-05 06:11:40 (GMT)
commitdf3f8bb35a9c3b8aa3a1d3b2cc16721ce8d46abe (patch)
tree1994a66240a5e113a39e432d23d646a39b19130c
parent6d3342e415b3c588ad9e35e7d6da5528600e2c88 (diff)
downloadbuildroot-df3f8bb35a9c3b8aa3a1d3b2cc16721ce8d46abe.tar.gz
buildroot-df3f8bb35a9c3b8aa3a1d3b2cc16721ce8d46abe.tar.bz2
mpc: ensure mpfr/gmp are built before mpc
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/mpc/Config.in2
-rw-r--r--package/mpc/mpc.mk4
2 files changed, 2 insertions, 4 deletions
diff --git a/package/mpc/Config.in b/package/mpc/Config.in
index 6045514..61c9638 100644
--- a/package/mpc/Config.in
+++ b/package/mpc/Config.in
@@ -6,7 +6,7 @@ config BR2_PACKAGE_LIBMPC
Mpc is a C library for the arithmetic of complex numbers with
arbitrarily high precision and correct rounding of the result.
It is built upon and follows the same principles as Mpfr.
-
+
http://www.multiprecision.org/
diff --git a/package/mpc/mpc.mk b/package/mpc/mpc.mk
index 561d25a..4a65842 100644
--- a/package/mpc/mpc.mk
+++ b/package/mpc/mpc.mk
@@ -1,5 +1,3 @@
-#libmpc: libgmp libmpfr $(TARGET_DIR)/usr/lib/libmpc$(LIBTGTEXT)
-
#############################################################
#
# mpc
@@ -60,7 +58,7 @@ ifeq ($(BR2_PACKAGE_LIBMPC_HEADERS),y)
cp -dpf $(STAGING_DIR)/usr/include/mpc.h $(TARGET_DIR)/usr/include/
endif
-libmpc: $(TARGET_DIR)/usr/lib/libmpc$(LIBTGTEXT)
+libmpc: libgmp libmpfr $(TARGET_DIR)/usr/lib/libmpc$(LIBTGTEXT)
stage-libmpc: $(STAGING_DIR)/usr/lib/$(MPC_BINARY)
libmpc-clean: