git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* contrib/credential/osxkeychain: Makefile should allow to set CFLAGS
@ 2012-05-22 20:25 Samuel John
  2012-05-22 21:00 ` Junio C Hamano
  0 siblings, 1 reply; 5+ messages in thread
From: Samuel John @ 2012-05-22 20:25 UTC (permalink / raw)
  To: git

Hi there,

the contrib/credential/osxkeychain/Makefile goes like this

> CC = gcc
> RM = rm -f
> CFLAGS = -g -Wall
> 
> git-credential-osxkeychain: git-credential-osxkeychain.o
> 	$(CC) -o $@ $< -Wl,-framework -Wl,Security
> 


and does not allow me to pass CFLAGS to build git-credential-osxkeychain.o.
My hack is to call: make CC="$CC $CFLAGS"
That is ugly.

Would you mind to add the CFLAGS to that CC call?

bests,
 Samuel

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-05-24 17:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-22 20:25 contrib/credential/osxkeychain: Makefile should allow to set CFLAGS Samuel John
2012-05-22 21:00 ` Junio C Hamano
2012-05-23 17:36   ` Jeff King
2012-05-24 17:35     ` Junio C Hamano
2012-05-24 17:51       ` Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).