better apply peflags at build time, to avoid antivirus getting nervous about changing executables;
--- a/Admin/Windows/Cygwin/isabelle/postinstall Sun Jan 20 15:35:01 2013 +0100
+++ b/Admin/Windows/Cygwin/isabelle/postinstall Mon Jan 21 16:33:54 2013 +0100
@@ -2,9 +2,6 @@
PATH=/bin
-CONTRIB="$(cygpath -u "$(cygpath -w /)\..")"
-peflags -x8192000 -z500 "$CONTRIB/polyml-5.5.0/x86-cygwin/poly.exe"
-
bash /etc/postinstall/base-files-mketc.sh.done
mkpasswd -l >/etc/passwd
--- a/Admin/polyml/build Sun Jan 20 15:35:01 2013 +0100
+++ b/Admin/polyml/build Mon Jan 21 16:33:54 2013 +0100
@@ -92,3 +92,7 @@
mv "$SOURCE/$TARGET/lib/"* "$TARGET/"
rmdir "$SOURCE/$TARGET/bin" "$SOURCE/$TARGET/lib"
rm -rf "$SOURCE/$TARGET/share"
+
+if [ "$TARGET" = x86-cygwin ]; then
+ peflags -x8192000 -z500 "$TARGET/poly.exe"
+fi