From 3776e50310dead7013cea52b3b9301953cf13540 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sat, 8 Jul 2017 19:45:35 -0400 Subject: [PATCH] buildbot-os2.sh: build with full optimizations, zip up final library. --- extras/buildbot-os2.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/extras/buildbot-os2.sh b/extras/buildbot-os2.sh index 7bab07a..2a8f4fe 100755 --- a/extras/buildbot-os2.sh +++ b/extras/buildbot-os2.sh @@ -23,7 +23,7 @@ set -e export WATCOM="/usr/local/share/watcom" export PATH="$PATH:$WATCOM/binl" -CFLAGS="-i=\"$WATCOM/h;$WATCOM/h/os2;../src\" -wx -zq -bt=os2 -fo=.obj -mf" +CFLAGS="-i=\"$WATCOM/h;$WATCOM/h/os2;../src\" -wx -d0 -otexan -6r -zq -bt=os2 -fo=.obj -mf" WLIBFLAGS="-b -c -n -q -p=512" cd `dirname "$0"` @@ -64,6 +64,8 @@ fi if [ "$OKAY" == "1" ]; then echo 1>&2 "Build succeeded." + cp ../src/physfs.h . + zip -9r ../physfs-os2.zip physfs.lib physfs.h exit 0 else echo 1>&2 "Build failed."