Add --traditional option to swipl invocation
This allows building with swi-prolog version 7.x which seems to be
the only version available for OSX via Homebrew.
Change-Id: I879d86e801cba75099abda6ac6698d30738efe75
diff --git a/bootstrap.defs b/bootstrap.defs
index 53a8331..a9b22cf 100644
--- a/bootstrap.defs
+++ b/bootstrap.defs
@@ -18,7 +18,7 @@
+ ']).'
+ '">$TMP/go.pl;'
+ 'cd $SRCDIR/%s;' % dirname(src)
- + 'swipl --quiet -g go,halt -t "halt(1)" $TMP/go.pl',
+ + 'swipl --traditional --quiet -g go,halt -t "halt(1)" $TMP/go.pl',
srcs = [
'src/compiler/package_fx.pl',
'src/compiler/pl2am.pl',
@@ -42,7 +42,7 @@
+ ']).'
+ '">$TMP/go.pl;'
+ 'mkdir $TMP/java;'
- + 'swipl --quiet -g go,halt -t "halt(1)" $TMP/go.pl;'
+ + 'swipl --traditional --quiet -g go,halt -t "halt(1)" $TMP/go.pl;'
+ 'cd $TMP/java; zip -qr $OUT .',
srcs = ['src/compiler/am2j.pl'],
)