buildbot-os2.sh: build with full optimizations, zip up final library.
This commit is contained in:
parent
16850b0a9c
commit
3776e50310
|
@ -23,7 +23,7 @@ set -e
|
||||||
export WATCOM="/usr/local/share/watcom"
|
export WATCOM="/usr/local/share/watcom"
|
||||||
export PATH="$PATH:$WATCOM/binl"
|
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"
|
WLIBFLAGS="-b -c -n -q -p=512"
|
||||||
|
|
||||||
cd `dirname "$0"`
|
cd `dirname "$0"`
|
||||||
|
@ -64,6 +64,8 @@ fi
|
||||||
|
|
||||||
if [ "$OKAY" == "1" ]; then
|
if [ "$OKAY" == "1" ]; then
|
||||||
echo 1>&2 "Build succeeded."
|
echo 1>&2 "Build succeeded."
|
||||||
|
cp ../src/physfs.h .
|
||||||
|
zip -9r ../physfs-os2.zip physfs.lib physfs.h
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
echo 1>&2 "Build failed."
|
echo 1>&2 "Build failed."
|
||||||
|
|
Loading…
Reference in New Issue