jcapik pushed to mpc (f21). "Adding STAGE1 bootstrap recipe"

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Jun 10 19:48:56 UTC 2015


From c83a8880dcd48204e1b70bee8e62744119ef50c2 Mon Sep 17 00:00:00 2001
From: Jaromir Capik <jcapik at redhat.com>
Date: Wed, 10 Jun 2015 21:48:25 +0200
Subject: Adding STAGE1 bootstrap recipe


diff --git a/STAGE1-mpc b/STAGE1-mpc
new file mode 100644
index 0000000..d408386
--- /dev/null
+++ b/STAGE1-mpc
@@ -0,0 +1,17 @@
+L=$1
+srpm libmpc
+mcd $BUILDDIR/t-$L
+
+# The MPC_GMP_CC_CFLAGS macro used in the configure.ac below
+# determines what CC/CFLAGS were used to build libgmp*.
+# Unfortunately, it calls the system's GCC (to compile
+# <gmp.h>) in order to determine this.  This will pick up the
+# system's gmp.h, which will consequently return the system
+# compiler.
+#
+# Set CC here to avoid this nonsense.
+CC=$TARGET-gcc $SRC/${L}-*/configure $TCONFIGARGS
+
+make
+make $J install DESTDIR=${ROOTFS}
+fix_la $L
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/mpc.git/commit/?h=f21&id=c83a8880dcd48204e1b70bee8e62744119ef50c2


More information about the scm-commits mailing list