Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | Obey LDFLAGS |
| 2 | |
| 3 | Signed-off-by: Christopher Larson <chris_larson@mentor.com> |
| 4 | Upstream-Status: Pending |
| 5 | |
| 6 | --- hostap-utils-0.4.7.orig/Makefile |
| 7 | +++ hostap-utils-0.4.7/Makefile |
| 8 | @@ -14,17 +14,17 @@ prism2_srec.o: prism2_srec.c util.h |
| 9 | hostap_crypt_conf: hostap_crypt_conf.c |
| 10 | |
| 11 | hostap_diag: hostap_diag.o util.o |
| 12 | - $(CC) -o hostap_diag $(CFLAGS) hostap_diag.o util.o |
| 13 | + $(CC) -o hostap_diag $(CFLAGS) $(LDFLAGS) hostap_diag.o util.o |
| 14 | |
| 15 | hostap_diag.o: hostap_diag.c util.h |
| 16 | |
| 17 | util.o: util.c util.h |
| 18 | |
| 19 | hostap_io_debug: hostap_io_debug.c |
| 20 | - $(CC) -o hostap_io_debug $(CFLAGS) hostap_io_debug.c |
| 21 | + $(CC) -o hostap_io_debug $(CFLAGS) $(LDFLAGS) hostap_io_debug.c |
| 22 | |
| 23 | hostap_rid: hostap_rid.o util.o |
| 24 | - $(CC) -o hostap_rid $(CFLAGS) hostap_rid.o util.o |
| 25 | + $(CC) -o hostap_rid $(CFLAGS) $(LDFLAGS) hostap_rid.o util.o |
| 26 | |
| 27 | hostap_rid.o: hostap_rid.c util.h |