author | Junio C Hamano <junkio@cox.net> | |
Thu, 29 Jun 2006 05:08:54 +0000 (22:08 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 3 Jul 2006 00:14:43 +0000 (17:14 -0700) | ||
commit | c35ebc902fd5c48c978d0d4cfab52ccdb4b11f54 | |
tree | 175788d704eaab7b528add6159abaf6684de3b1c | tree | snapshot |
parent | f1b8fd4abae7910d9227ae019220944e8fac6884 | commit | diff |
Makefile: Set USE_PIC on x86-64
On some platforms, Git.xs refuses to link with the rest of git
unless the latter is compiled with -fPIC, and we have USE_PIC
control in the Makefile for the user to set it. At least we
know x86-64 is such, so set it in the Makefile.
The original suggestion by Marco Roeland conservatively did this
only for Linux x86-64, but let's keep the Makefile simple and if
it breaks somebody let them holler.
Signed-off-by: Junio C Hamano <junkio@cox.net>
On some platforms, Git.xs refuses to link with the rest of git
unless the latter is compiled with -fPIC, and we have USE_PIC
control in the Makefile for the user to set it. At least we
know x86-64 is such, so set it in the Makefile.
The original suggestion by Marco Roeland conservatively did this
only for Linux x86-64, but let's keep the Makefile simple and if
it breaks somebody let them holler.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile | diff | blob | history |