back to --disable-shared on x86-darwin to avoid odd core-dump of polyimport;
authorwenzelm
Sun, 11 Feb 2018 13:07:59 +0100
changeset 67594 c195722c60ac
parent 67593 5efb88c90051
child 67595 5b4dd7a5b882
back to --disable-shared on x86-darwin to avoid odd core-dump of polyimport;
src/Pure/Admin/build_polyml.scala
--- a/src/Pure/Admin/build_polyml.scala	Sun Feb 11 12:51:23 2018 +0100
+++ b/src/Pure/Admin/build_polyml.scala	Sun Feb 11 13:07:59 2018 +0100
@@ -32,7 +32,8 @@
         options =
           List("--build=i686-darwin", "CFLAGS=-arch i686 -O3 -I../libffi/include",
             "CXXFLAGS=-arch i686 -O3 -I../libffi/include", "CCASFLAGS=-arch i686 -O3",
-            "LDFLAGS=-segprot POLY rwx rwx -L/usr/local/lib32"),
+            "LDFLAGS=-segprot POLY rwx rwx -L/usr/local/lib32",
+            "--disable-shared"),
         setup = "PATH=/usr/bin:/bin:/usr/sbin:/sbin"),
     "x86_64-darwin" ->
       Platform_Info(
@@ -110,10 +111,10 @@
     /* configure and make */
 
     val configure_options =
+      List("--enable-shared", "--enable-intinf-as-int", "--with-gmp") :::
       (if (!arch_64 && Isabelle_System.getenv("ISABELLE_PLATFORM64") == "x86_64-linux")
         info.options_multilib
-       else info.options) :::
-      List("--enable-shared", "--enable-intinf-as-int", "--with-gmp") ::: options
+       else info.options) ::: options
 
     bash(root,
       info.setup + "\n" +