summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/tinyvm/tinyvm.SlackBuild13
1 files changed, 11 insertions, 2 deletions
diff --git a/system/tinyvm/tinyvm.SlackBuild b/system/tinyvm/tinyvm.SlackBuild
index 82a9183201..1c4473a989 100644
--- a/system/tinyvm/tinyvm.SlackBuild
+++ b/system/tinyvm/tinyvm.SlackBuild
@@ -61,8 +61,17 @@ rm -rf $PRGNAM-$SRCVERSION
tar xvf $CWD/$SRCVERSION.tar.gz
cd $PRGNAM-$SRCVERSION
-make \
- OPTS="$SLKCFLAGS"
+## default compiler (clang)
+make OPTS="$SLKCFLAGS"
+
+## if you want to build tinyvm with a different
+## compiler, make sure you comment out all but
+## one `make` line
+##
+## gcc
+#make CC=gcc OPTS="$SLKCFLAGS"
+## pcc
+#make CC=pcc PEDANTIC=no OPTIMIZATION="-O2 -fPIC -xinline"
mkdir -p $PKG/usr/{bin,include}
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}