archrelease: copy trunk to community-any
[ArchLinux/community.git] / haproxy / trunk / 0001-Use-CFLAGS-and-LDFLAGS-when-building-admin.patch
blobd22196de682bc90b38e1fb20d12ddf29e8045cde
1 diff --git a/admin/iprange/Makefile b/admin/iprange/Makefile
2 index 13598d8b4..eb89fb953 100644
3 --- a/admin/iprange/Makefile
4 +++ b/admin/iprange/Makefile
5 @@ -7,7 +7,7 @@ OBJS = iprange ip6range
6 all: $(OBJS)
8 %: %.c
9 - $(CC) $(LDFLAGS) $(OPTIMIZE) -o $@ $^
10 + $(CC) $(OPTIMIZE) $(CFLAGS) $(LDFLAGS) -o $@ $^
12 clean:
13 rm -f $(OBJS) *.o *.a *~
14 diff --git a/dev/poll/Makefile b/dev/poll/Makefile
15 index 0247099ed..e413bcade 100644
16 --- a/dev/poll/Makefile
17 +++ b/dev/poll/Makefile
18 @@ -7,7 +7,7 @@ INCLUDE =
19 OBJS = poll
21 poll: poll.c
22 - $(cmd_CC) $(OPTIMIZE) $(DEFINE) $(INCLUDE) -o $@ $^
23 + $(cmd_CC) $(OPTIMIZE) $(CFLAGS) $(LDFLAGS) $(DEFINE) $(INCLUDE) -o $@ $^
25 clean:
26 rm -f $(OBJS) *.[oas] *~
27 diff --git a/dev/tcploop/Makefile b/dev/tcploop/Makefile
28 index 6d0a0c259..14119b098 100644
29 --- a/dev/tcploop/Makefile
30 +++ b/dev/tcploop/Makefile
31 @@ -7,7 +7,7 @@ INCLUDE =
32 OBJS = tcploop
34 tcploop: tcploop.c
35 - $(cmd_CC) $(OPTIMIZE) $(DEFINE) $(INCLUDE) -o $@ $^
36 + $(cmd_CC) $(OPTIMIZE) $(CFLAGS) $(LDFLAGS) $(DEFINE) $(INCLUDE) -o $@ $^
38 clean:
39 rm -f $(OBJS) *.[oas] *~