Skip to content

Commit

Permalink
buildbot-os2.sh: build with full optimizations, zip up final library.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jul 8, 2017
1 parent 16850b0 commit 3776e50
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion extras/buildbot-os2.sh
Expand Up @@ -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"`
Expand Down Expand Up @@ -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."
Expand Down

0 comments on commit 3776e50

Please sign in to comment.