diff options
author | Damien Miller <djm@mindrot.org> | 2014-12-18 10:15:49 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2014-12-18 10:15:49 +1100 |
commit | 2048f85a5e6da8bc6e0532efe02ecfd4e63c978c (patch) | |
tree | 827258bd395b0e26a4f8564707df6a364ffcf3b2 | |
parent | 48b68ce19ca42fa488960028048dec023f7899bb (diff) |
include CFLAGS in gnome askpass targets
from Fedora
-rw-r--r-- | contrib/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/Makefile b/contrib/Makefile index c6c48e78a..eaf7fe2fd 100644 --- a/contrib/Makefile +++ b/contrib/Makefile | |||
@@ -4,12 +4,12 @@ all: | |||
4 | @echo "Valid targets: gnome-ssh-askpass1 gnome-ssh-askpass2" | 4 | @echo "Valid targets: gnome-ssh-askpass1 gnome-ssh-askpass2" |
5 | 5 | ||
6 | gnome-ssh-askpass1: gnome-ssh-askpass1.c | 6 | gnome-ssh-askpass1: gnome-ssh-askpass1.c |
7 | $(CC) `gnome-config --cflags gnome gnomeui` \ | 7 | $(CC) $(CFLAGS) `gnome-config --cflags gnome gnomeui` \ |
8 | gnome-ssh-askpass1.c -o gnome-ssh-askpass1 \ | 8 | gnome-ssh-askpass1.c -o gnome-ssh-askpass1 \ |
9 | `gnome-config --libs gnome gnomeui` | 9 | `gnome-config --libs gnome gnomeui` |
10 | 10 | ||
11 | gnome-ssh-askpass2: gnome-ssh-askpass2.c | 11 | gnome-ssh-askpass2: gnome-ssh-askpass2.c |
12 | $(CC) `$(PKG_CONFIG) --cflags gtk+-2.0` \ | 12 | $(CC) $(CFLAGS) `$(PKG_CONFIG) --cflags gtk+-2.0` \ |
13 | gnome-ssh-askpass2.c -o gnome-ssh-askpass2 \ | 13 | gnome-ssh-askpass2.c -o gnome-ssh-askpass2 \ |
14 | `$(PKG_CONFIG) --libs gtk+-2.0 x11` | 14 | `$(PKG_CONFIG) --libs gtk+-2.0 x11` |
15 | 15 | ||