mirror of
https://github.com/git/git
synced 2024-08-25 02:35:46 +00:00
![Dennis Stosberg](/assets/img/avatar_default.png)
- Add the CFLAGS variable to config.mak.in to override the Makefile's default, which is gcc-specific and won't work with Sun CC. - Prefer "cc" over "gcc", because Pasky's Git.pm will not compile with gcc on Solaris at all. On Linux and the free BSDs "cc" is linked to "gcc" anyway. - Set correct flag to generate position-independent code. - Add "-xO3" (= use default optimization level) to CFLAGS. Signed-off-by: Dennis Stosberg <dennis@stosberg.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
43 lines
973 B
Makefile
43 lines
973 B
Makefile
# git Makefile configuration, included in main Makefile
|
|
# @configure_input@
|
|
|
|
CC = @CC@
|
|
CFLAGS = @CFLAGS@
|
|
PIC_FLAG = @PIC_FLAG@
|
|
AR = @AR@
|
|
TAR = @TAR@
|
|
#INSTALL = @INSTALL@ # needs install-sh or install.sh in sources
|
|
|
|
prefix = @prefix@
|
|
exec_prefix = @exec_prefix@
|
|
bindir = @bindir@
|
|
#gitexecdir = @libexecdir@/git-core/
|
|
datarootdir = @datarootdir@
|
|
template_dir = @datadir@/git-core/templates/
|
|
GIT_PYTHON_DIR = @datadir@/git-core/python
|
|
|
|
mandir=@mandir@
|
|
|
|
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
|
|
export exec_prefix mandir
|
|
export srcdir VPATH
|
|
|
|
NO_PYTHON=@NO_PYTHON@
|
|
NEEDS_SSL_WITH_CRYPTO=@NEEDS_SSL_WITH_CRYPTO@
|
|
NO_OPENSSL=@NO_OPENSSL@
|
|
NO_CURL=@NO_CURL@
|
|
NO_EXPAT=@NO_EXPAT@
|
|
NEEDS_LIBICONV=@NEEDS_LIBICONV@
|
|
NEEDS_SOCKET=@NEEDS_SOCKET@
|
|
NO_D_INO_IN_DIRENT=@NO_D_INO_IN_DIRENT@
|
|
NO_D_TYPE_IN_DIRENT=@NO_D_TYPE_IN_DIRENT@
|
|
NO_SOCKADDR_STORAGE=@NO_SOCKADDR_STORAGE@
|
|
NO_IPV6=@NO_IPV6@
|
|
NO_C99_FORMAT=@NO_C99_FORMAT@
|
|
NO_STRCASESTR=@NO_STRCASESTR@
|
|
NO_STRLCPY=@NO_STRLCPY@
|
|
NO_SETENV=@NO_SETENV@
|
|
|