From: Junio C Hamano Date: Wed, 28 Jun 2006 18:53:00 GMT Subject: Re: [PATCH] Makefile: set USE_PIC on Linux x86_64 for linking with Git.pm Message-ID: <7vr719159v.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20060628183557.GA5713@fiberbit.xs4all.nl> Marco Roeland writes: > In commit 6294a10 it was noted that "on x86-64 it seems that Git.xs does > not link without compiling the main git objects with -fPIC". Set it > therefore automatically on this platform. I agree with it in principle but was too lazy to do that myself. I wonder it should be inside Linux, though. > ifeq ($(uname_S),Linux) > NO_STRLCPY = YesPlease > + ifneq (,$(findstring x86_64,$(uname_M))) > + USE_PIC = YesPlease > + endif > endif