Commits

Shlomi Fish committed 0632106

Add emscripten-perl.

This is for trying to build Perl using emscripten.

  • Participants
  • Parent commits 0df5296

Comments (0)

Files changed (1)

shlomif-settings/build-scripts/build/perl/emscripten-perl.pl

+#!/usr/bin/perl
+
+use strict;
+use warnings;
+
+unlink ("config.sh", "Policy.sh");
+
+system("sh", "Configure", "-de", "-Dprefix=$ENV{HOME}/apps/perl/emcc",
+    "-Dusedevel",
+    "-Dcc=emcc",
+    "-D_o=.bc",
+    q#-Doptimize=-O2 -m32 -std=gnu99#,
+);