summaryrefslogtreecommitdiff
blob: 8bdab247646e5b916078a9d418c7d596ba2f1e22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
diff -urN torque-1.2.0p1.orig/src/iff/Makefile.in torque-1.2.0p1/src/iff/Makefile.in
--- torque-1.2.0p1.orig/src/iff/Makefile.in	2005-02-07 18:57:06.000000000 -0800
+++ torque-1.2.0p1/src/iff/Makefile.in	2005-02-20 00:54:58.444042744 -0800
@@ -114,7 +114,7 @@
 	$(INSTALL) -m 4755 $(TARGET) $(sbindir)
 
 pbs_iff: $(OBJS) $(PBS_LIBS)
-	$(CC) $(CFLAGS) -o $@ $(OBJS) $(PBS_LIBS) $(LIBS)
+	$(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(OBJS) $(PBS_LIBS) $(LIBS)
 
 @mk_cleanup@
 @mk_tail@
diff -urN torque-1.2.0p1.orig/src/mom_rcp/Makefile.in torque-1.2.0p1/src/mom_rcp/Makefile.in
--- torque-1.2.0p1.orig/src/mom_rcp/Makefile.in	2005-02-07 18:57:06.000000000 -0800
+++ torque-1.2.0p1/src/mom_rcp/Makefile.in	2005-02-20 00:55:10.253247472 -0800
@@ -115,7 +115,7 @@
 	$(INSTALL) -m 4755 $(TARGET) $(sbindir)
 
 $(TARGET): $(OBJS)
-	$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
+	$(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
 
 
 # needed for make depend
diff -urN torque-1.2.0p1.orig/src/scheduler.basl/Makefile.in torque-1.2.0p1/src/scheduler.basl/Makefile.in
--- torque-1.2.0p1.orig/src/scheduler.basl/Makefile.in	2005-02-07 18:57:07.000000000 -0800
+++ torque-1.2.0p1/src/scheduler.basl/Makefile.in	2005-02-20 01:11:02.760444368 -0800
@@ -133,7 +133,7 @@
 	$(CC) $(CFLAGS) -o $@ $(OBJS_COMMON) $(OBJS_COMP) $(LIBRARIES)
 
 pbs_sched: $(OBJS_COMMON) $(OBJS_SCHED)
-	$(CC) $(CFLAGS) -o $@ $(OBJS_COMMON) $(OBJS_SCHED) $(LIBRARIES)
+	$(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(OBJS_COMMON) $(OBJS_SCHED) $(LIBRARIES)
 
 pbs_sched.o: $(SCHD_SRC) $(srcdir)/af_system.h $(srcdir)/af_server.h basl2c
 	@if expr $(SCHD_SRC) : '.*\.basl$$' > /dev/null 2>&1; then \
diff -urN torque-1.2.0p1.orig/src/scheduler.cc/Makefile.in torque-1.2.0p1/src/scheduler.cc/Makefile.in
--- torque-1.2.0p1.orig/src/scheduler.cc/Makefile.in	2005-02-07 18:57:07.000000000 -0800
+++ torque-1.2.0p1/src/scheduler.cc/Makefile.in	2005-02-20 01:11:17.845151144 -0800
@@ -127,7 +127,7 @@
 	$(INSTALL) -m 700 $(TARGET) $(sbindir)
 
 $(TARGET): $(OBJS) $(SCHEDLIB)
-	$(CC) $(CFLAGS) -o $@ $(OBJS) $(SCHEDLIB) $(PBSLIBS) $(LIBS)
+	$(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(OBJS) $(SCHEDLIB) $(PBSLIBS) $(LIBS)
 
 distclean::
 	-(cd $(SCHD_BUILD) && $(MAKE) $@; exit 0) > /dev/null 2>&1
diff -urN torque-1.2.0p1.orig/src/scheduler.tcl/Makefile.in torque-1.2.0p1/src/scheduler.tcl/Makefile.in
--- torque-1.2.0p1.orig/src/scheduler.tcl/Makefile.in	2005-02-07 18:57:07.000000000 -0800
+++ torque-1.2.0p1/src/scheduler.tcl/Makefile.in	2005-02-20 01:11:37.748125432 -0800
@@ -119,7 +119,7 @@
 	$(INSTALL) -m 700 $(TARGET) $(sbindir)
 
 $(TARGET): $(OBJS)
-	$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBRARIES)
+	$(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(OBJS) $(LIBRARIES)
 
 @mk_cleanup@
 @mk_tail@