summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2014-12-18 10:15:49 +1100
committerDamien Miller <djm@mindrot.org>2014-12-18 10:15:49 +1100
commit2048f85a5e6da8bc6e0532efe02ecfd4e63c978c (patch)
tree827258bd395b0e26a4f8564707df6a364ffcf3b2 /contrib
parent48b68ce19ca42fa488960028048dec023f7899bb (diff)
include CFLAGS in gnome askpass targets
from Fedora
Diffstat (limited to 'contrib')
-rw-r--r--contrib/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/Makefile b/contrib/Makefile
index c6c48e78..eaf7fe2f 100644
--- a/contrib/Makefile
+++ b/contrib/Makefile
@@ -4,12 +4,12 @@ all:
@echo "Valid targets: gnome-ssh-askpass1 gnome-ssh-askpass2"
gnome-ssh-askpass1: gnome-ssh-askpass1.c
- $(CC) `gnome-config --cflags gnome gnomeui` \
+ $(CC) $(CFLAGS) `gnome-config --cflags gnome gnomeui` \
gnome-ssh-askpass1.c -o gnome-ssh-askpass1 \
`gnome-config --libs gnome gnomeui`
gnome-ssh-askpass2: gnome-ssh-askpass2.c
- $(CC) `$(PKG_CONFIG) --cflags gtk+-2.0` \
+ $(CC) $(CFLAGS) `$(PKG_CONFIG) --cflags gtk+-2.0` \
gnome-ssh-askpass2.c -o gnome-ssh-askpass2 \
`$(PKG_CONFIG) --libs gtk+-2.0 x11`