kentpeacock / rpms / openssh

Forked from rpms/openssh 2 years ago
Clone
f09e2e
diff -up openssh-6.1p1/contrib/Makefile.askpass-ld openssh-6.1p1/contrib/Makefile
f09e2e
--- openssh-6.1p1/contrib/Makefile.askpass-ld	2012-05-19 07:24:37.000000000 +0200
f09e2e
+++ openssh-6.1p1/contrib/Makefile	2012-09-14 20:35:47.565704718 +0200
f09e2e
@@ -4,12 +4,12 @@ all:
f09e2e
 	@echo "Valid targets: gnome-ssh-askpass1 gnome-ssh-askpass2"
f09e2e
 
f09e2e
 gnome-ssh-askpass1: gnome-ssh-askpass1.c
f09e2e
-	$(CC) `gnome-config --cflags gnome gnomeui` \
f09e2e
+	$(CC) ${CFLAGS} `gnome-config --cflags gnome gnomeui` \
f09e2e
 		gnome-ssh-askpass1.c -o gnome-ssh-askpass1 \
f09e2e
 		`gnome-config --libs gnome gnomeui`
f09e2e
 
f09e2e
 gnome-ssh-askpass2: gnome-ssh-askpass2.c
f09e2e
-	$(CC) `$(PKG_CONFIG) --cflags gtk+-2.0` \
f09e2e
+	$(CC) ${CFLAGS} `$(PKG_CONFIG) --cflags gtk+-2.0` \
f09e2e
 		gnome-ssh-askpass2.c -o gnome-ssh-askpass2 \
f09e2e
 		`$(PKG_CONFIG) --libs gtk+-2.0 x11`
f09e2e