contrib/credential/osxkeychain: Makefile should allow to set CFLAGS

From: Samuel John <hidden>
Date: 2016-06-15 22:53:53

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help