On Fri, 6 Jun 2008, Boyd Lynn Gerber wrote: > From db0574a7f89bb90b6ce02cd44053f8cec2c454cc > > This patch has patches to > > Makefile > git-compat-util.h > progress.c > > This patch allows some older OS's, SCO OpenServer 5.0.X, SCO UnixWare 7.1.4, > and OpenServer 6.0.X to build and run git. Applied suggestions from list. > > Developer's Certificate of Origin 1.1 > > By making a contribution to this project, I certify that: > > (a) The contribution was created in whole or in part by me and I > have the right to submit it under the open source license > indicated in the file; or > > (b) The contribution is based upon previous work that, to the best > of my knowledge, is covered under an appropriate open source > license and I have the right under that license to submit that > work with modifications, whether created in whole or in part > by me, under the same open source license (unless I am > permitted to submit under a different license), as indicated > in the file; or > > (c) The contribution was provided directly to me by some other > person who certified (a), (b) or (c) and I have not modified > it. > > (d) I understand and agree that this project and the contribution > are public and that a record of the contribution (including all > personal information I submit with it, including my sign-off) is > maintained indefinitely and may be redistributed consistent with > this project or the open source license(s) involved. > > Signed-off-by: Boyd Lynn Gerber <gerberb@xxxxxxxxx> > > -- > Boyd Gerber <gerberb@xxxxxxxxx> > ZENEZ 1042 East Fort Union #135, Midvale Utah 84047 > > diff --git a/Makefile b/Makefile > index cce5a6e..a0456c8 100644 > --- a/Makefile > +++ b/Makefile > @@ -165,6 +165,28 @@ uname_P := $(shell sh -c 'uname -p 2>/dev/null || echo not') > # CFLAGS and LDFLAGS are for the users to override from the command line. > > CFLAGS = -g -O2 -Wall > +ifeq ($(uname_S),SCO_SV) > + ifeq ($(uname_R),3.2) > +# Change to -O2 for released version > +# CFLAGS = -O2 > +# Debug Version > + CFLAGS = -g > + endif > +# For System V based OS's > + ifeq ($(uname_R),5) > +# For System V based OS's and shared libraries > + CFLAGS = -g -O2 -Wall You don't need this, because CFLAGS is already -g -O2 -Wall, since we set it above and couldn't have changed it. > +# Use for Static version > +# CFLAGS = -g -O2 Static libraries don't support -Wall? > + endif > +endif > +# For all UnixWare Versions. > +ifeq ($(uname_S),UnixWare) > +# For System V based OS's and shared libraries > + CFLAGS = -g -O2 -Wall Again, this just sets it to what it must already be. You might want to test something the person doing the build can put somewhere, rather than commenting out the lines you're not using. -Daniel *This .sig left intentionally blank* -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html