diff options
author | Ryan P.C. McQuen <ryan.q@linux.com> | 2015-03-07 08:23:11 -0800 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-03-08 06:34:50 +0700 |
commit | a657f15d2185c6a3e10a1075431b3ae85cb23959 (patch) | |
tree | fdc8fe32298814f0fe504254690263e26afc224c | |
parent | fb2ab09c2c97cb3280714828fcca33757c453f45 (diff) | |
download | slackbuilds-a657f15d2185c6a3e10a1075431b3ae85cb23959.tar.gz |
system/tinyvm: Add commented out compiler options.
Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
-rw-r--r-- | system/tinyvm/tinyvm.SlackBuild | 13 |
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} |