aboutsummaryrefslogtreecommitdiff
path: root/system/tinyvm
diff options
context:
space:
mode:
authorRyan P.C. McQuen <ryan.q@linux.com>2015-03-07 08:23:11 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-03-08 06:34:50 +0700
commita657f15d2185c6a3e10a1075431b3ae85cb23959 (patch)
treefdc8fe32298814f0fe504254690263e26afc224c /system/tinyvm
parentfb2ab09c2c97cb3280714828fcca33757c453f45 (diff)
system/tinyvm: Add commented out compiler options.
Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
Diffstat (limited to 'system/tinyvm')
-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 82a9183201373..1c4473a989caa 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}