summaryrefslogtreecommitdiff
blob: af22be1b2131d212ad578780f55258ba998389c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Respect LDFLAGS, CFLAGS and CC when building amsnplus/snapshot

Patch by Kevin McCarthy <signals@gentoo.org>

--- plugins/amsnplus/Makefile
+++ plugins/amsnplus/Makefile
@@ -1,6 +1,6 @@
 snapshot:
-	gcc snapshot.c -o snapshot `imlib-config --cflags` `imlib-config --libs`
+	$(CC) $(CFLAGS) $(LDFLAGS)  snapshot.c -o snapshot `imlib-config --cflags` `imlib-config --libs`
 
 all: snapshot
 clean:
-	rm snapshot
\ No newline at end of file
+	rm snapshot