diff options
author | Herb Lewis <herb@samba.org> | 1998-11-16 13:47:22 +0000 |
---|---|---|
committer | Herb Lewis <herb@samba.org> | 1998-11-16 13:47:22 +0000 |
commit | 0b2e84243c54f86d25364a8b8ff2efeff2ac9b2d (patch) | |
tree | 27dcce3d3699a4a02e931f155cddd157dc06fe9d /packaging | |
parent | 8a22f36abdd8fb6bead1989b926694ec90080834 (diff) | |
download | samba-0b2e84243c54f86d25364a8b8ff2efeff2ac9b2d.tar.gz samba-0b2e84243c54f86d25364a8b8ff2efeff2ac9b2d.tar.bz2 samba-0b2e84243c54f86d25364a8b8ff2efeff2ac9b2d.zip |
some fixes for IRIX 5.3 builds
(This used to be commit c2b63b90825316151f3ffc8dbae45609062c0a73)
Diffstat (limited to 'packaging')
-rwxr-xr-x | packaging/SGI/mkrelease.sh | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/packaging/SGI/mkrelease.sh b/packaging/SGI/mkrelease.sh index cfbd40ec04..4261d1ee00 100755 --- a/packaging/SGI/mkrelease.sh +++ b/packaging/SGI/mkrelease.sh @@ -7,13 +7,27 @@ doclean="" SGI_ABI=-n32 CC=cc -export SGI_ABI CC if [ "$1" = "clean" ]; then doclean=$1 shift +elif [ "$1" = "5" ]; then + SGI_ABI=-32 + shift +fi + +# check again in case they put the args in the wrong order + +if [ "$1" = "clean" ]; then + doclean=$1 + shift +elif [ "$1" = "5" ]; then + SGI_ABI=-32 + shift fi +export SGI_ABI CC + if [ "$doclean" = "clean" ]; then cd ../../source if [ -f Makefile ]; then @@ -43,7 +57,7 @@ if [ "$doclean" = "clean" -o ! -f Makefile ]; then chmod +x config.guess chmod +x config.status chmod +x config.sub - ./configure --prefix=/usr --mandir=/usr/src/man + ./configure --prefix=/usr --mandir=/usr/src/man --with-smbwrapper errstat=$? if [ $errstat -ne 0 ]; then echo "Error $errstat creating Makefile\n"; @@ -56,14 +70,7 @@ fi # echo Making binaries -if [ "$1" = "5" ]; then - myflags="CFLAGS=-O -g3" - shift -else - myflags="CFLAGS=-O -g3" -fi - -make "$myflags" $* +make "CFLAGS=-O -g3" $* errstat=$? if [ $errstat -ne 0 ]; then echo "Error $errstat building sources\n"; |