|
|
3d10ba |
From 38184b2c30837280ccad42b54b1a2da7b4c45c7c Mon Sep 17 00:00:00 2001
|
|
|
3d10ba |
From: Chris Leech <cleech@redhat.com>
|
|
|
3d10ba |
Date: Fri, 13 Sep 2013 17:30:01 -0700
|
|
|
3d10ba |
Subject: [PATCH 1/1] use LDFLAGS
|
|
|
3d10ba |
|
|
|
3d10ba |
---
|
|
|
3d10ba |
Makefile.in | 10 +++++-----
|
|
|
3d10ba |
1 file changed, 5 insertions(+), 5 deletions(-)
|
|
|
3d10ba |
|
|
|
3d10ba |
diff --git a/Makefile.in b/Makefile.in
|
|
|
3d10ba |
index 277a80a..dde76f0 100644
|
|
|
3d10ba |
--- a/Makefile.in
|
|
|
3d10ba |
+++ b/Makefile.in
|
|
|
3d10ba |
@@ -100,19 +100,19 @@ $(LIB): $(LIBOBJS)
|
|
|
3d10ba |
ar cr $@ $(LIBOBJS)
|
|
|
3d10ba |
|
|
|
3d10ba |
isnsd: $(SRVOBJS) $(LIB)
|
|
|
3d10ba |
- $(CC) $(CFLAGS) -o $@ $(SRVOBJS) -L. -lisns $(SECLINK) $(SLPLINK)
|
|
|
3d10ba |
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(SRVOBJS) -L. -lisns $(SECLINK) $(SLPLINK)
|
|
|
3d10ba |
|
|
|
3d10ba |
isnsdd: $(ISNSDD) $(LIB)
|
|
|
3d10ba |
- $(CC) $(CFLAGS) -o $@ $(ISNSDD) -L. -lisns $(SECLINK) $(SLPLINK)
|
|
|
3d10ba |
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(ISNSDD) -L. -lisns $(SECLINK) $(SLPLINK)
|
|
|
3d10ba |
|
|
|
3d10ba |
isnsadm: $(ADMOBJS) $(LIB)
|
|
|
3d10ba |
- $(CC) $(CFLAGS) -o $@ $(ADMOBJS) -L. -lisns $(SECLINK) $(SLPLINK)
|
|
|
3d10ba |
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(ADMOBJS) -L. -lisns $(SECLINK) $(SLPLINK)
|
|
|
3d10ba |
|
|
|
3d10ba |
tests/%: tests/%.o $(LIB)
|
|
|
3d10ba |
- $(CC) $(CFLAGS) -o $@ $@.o -L. -lisns $(SECLINK) $(SLPLINK)
|
|
|
3d10ba |
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $@.o -L. -lisns $(SECLINK) $(SLPLINK)
|
|
|
3d10ba |
|
|
|
3d10ba |
bitvector: bitvector.c $(LIB)
|
|
|
3d10ba |
- $(CC) -DTEST $(CFLAGS) -o $@ bitvector.c -L. -lisns
|
|
|
3d10ba |
+ $(CC) -DTEST $(CFLAGS) $(LDFLAGS) -o $@ bitvector.c -L. -lisns
|
|
|
3d10ba |
|
|
|
3d10ba |
depend:
|
|
|
3d10ba |
gcc $(CFLAGS) -M `ls *.c` > .depend
|
|
|
3d10ba |
--
|
|
|
3d10ba |
1.8.1.4
|
|
|
3d10ba |
|