Solaris: Fail to build git with CFLAGS=-m64

2015-10-13 Thread evgeny litvinenko
Hi. Tried to build git-2.6.1 on Solaris (Oracle Solaris 11.2 and OpenIndiana 151.1.9) with CFLAGS="-m64" and got an error during make step: GIT_VERSION = 2.6.1 * new build flags gcc -o credential-store.o -c -MF ./.depend/credential-store.o.d -MQ credential-store.o -MMD -MP --save-temps -O2

Re: Solaris: Fail to build git with CFLAGS=-m64

2015-10-13 Thread Junio C Hamano
evgeny litvinenko writes: > Solaris has the following prototype in the file /usr/include/arpa/inet.h: > > extern const char *inet_ntop(int, const void *_RESTRICT_KYWD, char > *_RESTRICT_KYWD, socklen_t); > > Git's prototype for inet_ntop is in file

Re: Solaris: Fail to build git with CFLAGS=-m64

2015-10-13 Thread evgeny litvinenko
Hi Junio, On 10/13/15, Junio C Hamano wrote: > evgeny litvinenko writes: > >> Solaris has the following prototype in the file /usr/include/arpa/inet.h: >> >> extern const char *inet_ntop(int, const void *_RESTRICT_KYWD, char >> *_RESTRICT_KYWD,