midipix / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame gmp-5.1.3.local.patch

Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
diff -ru a/configfsf.sub b/configfsf.sub
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
--- a/configfsf.sub	2013-09-30 06:18:28.000000000 -0400
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+++ b/configfsf.sub	2015-05-28 00:18:19.772345286 -0400
Lucio Andrés Illanes Albornoz (arab, vxp) 36eb07
@@ -794,6 +794,9 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 36eb07
 	microblaze*)
Lucio Andrés Illanes Albornoz (arab, vxp) 36eb07
 		basic_machine=microblaze-xilinx
Lucio Andrés Illanes Albornoz (arab, vxp) 36eb07
 		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 36eb07
+	midipix)
Lucio Andrés Illanes Albornoz (arab, vxp) 36eb07
+		os=-midipix
Lucio Andrés Illanes Albornoz (arab, vxp) 36eb07
+		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 36eb07
 	mingw64)
Lucio Andrés Illanes Albornoz (arab, vxp) 36eb07
 		basic_machine=x86_64-pc
Lucio Andrés Illanes Albornoz (arab, vxp) 36eb07
 		os=-mingw64
Lucio Andrés Illanes Albornoz (arab, vxp) 36eb07
@@ -1370,7 +1373,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 36eb07
 	      | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
Lucio Andrés Illanes Albornoz (arab, vxp) 36eb07
 	      | -chorusos* | -chorusrdb* | -cegcc* \
Lucio Andrés Illanes Albornoz (arab, vxp) 36eb07
 	      | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
Lucio Andrés Illanes Albornoz (arab, vxp) 36eb07
-	      | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
Lucio Andrés Illanes Albornoz (arab, vxp) 36eb07
+	      | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
Lucio Andrés Illanes Albornoz (arab, vxp) 36eb07
 	      | -linux-newlib* | -linux-musl* | -linux-uclibc* \
Lucio Andrés Illanes Albornoz (arab, vxp) 36eb07
 	      | -uxpv* | -beos* | -mpeix* | -udk* \
Lucio Andrés Illanes Albornoz (arab, vxp) 36eb07
 	      | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
diff -ru a/configure b/configure
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
--- a/configure	2013-09-30 06:18:33.000000000 -0400
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+++ b/configure	2015-05-28 00:18:20.160345295 -0400
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
@@ -28684,7 +28684,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
 
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
 echo "include_mpn(\`x86_64/darwin.m4')" >> $gmp_tmpconfigm4i
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
  ;;
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
-	    *-*-mingw* | *-*-cygwin)
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+	    *-*-mingw* | *-*-cygwin | *-*-midipix)
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
 
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
 echo "include_mpn(\`x86_64/dos64.m4')" >> $gmp_tmpconfigm4i
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
  ;;
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
@@ -32457,3 +32457,15 @@
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
      ;;
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
    esac
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
 fi
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+# a transitional workaround...
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+case $host_os in
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+		midipix*)
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+			cp $ac_confdir/libtool.midipix libtool || exit 2
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+			sed -i	-e 's/@cbb_host_os@/'$host'/g' \
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+				-e 's/@cbb_build_alias@/'$build_alias'/g' \
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+				-e 's/@cbb_build_os@/'$build_os'/g' \
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+				-e 's/@cbb_build@/'$build'/g' libtool || exit 2
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+			;;
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
+esac