Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 293578 | Differences between
and this patch

Collapse All | Expand All

(-)files/urt-3.1b-build-fixes.patch.orig (-4 / +15 lines)
Lines 23-29 Link Here
23
 
23
 
24
 rleClock:rleClock.o font.o
24
 rleClock:rleClock.o font.o
25
-	${CC} ${CFLAGS} rleClock.o font.o -lm ${LIBS} -o rleClock
25
-	${CC} ${CFLAGS} rleClock.o font.o -lm ${LIBS} -o rleClock
26
+	${CC} ${CFLAGS} ${LDFLAGS} rleClock.o font.o ${LIBS} -o rleClock -lm
26
+	$(CC) $(CFLAGS) $(LDFLAGS) rleClock.o font.o $(LIBS) -o rleClock -lm
27
 
27
 
28
 font.c:font.src makeFont
28
 font.c:font.src makeFont
29
 	chmod +x makeFont
29
 	chmod +x makeFont
Lines 47-57 Link Here
47
 
47
 
48
 crop.out: crop.c rle_box.o
48
 crop.out: crop.c rle_box.o
49
-	${CC} ${CFLAGS} crop.c rle_box.o ${LIBS} -o crop.new
49
-	${CC} ${CFLAGS} crop.c rle_box.o ${LIBS} -o crop.new
50
+	${CC} ${LDFLAGS} ${CFLAGS} crop.c rle_box.o ${LIBS} -o crop.new
50
+	$(CC) $(LDFLAGS) $(CFLAGS) crop.c rle_box.o $(LIBS) -o crop.new
51
 	mv crop.new crop.out
51
 	mv crop.new crop.out
52
 rlebox.out: rlebox.c rle_box.o
52
 rlebox.out: rlebox.c rle_box.o
53
-	${CC} ${CFLAGS} rlebox.c rle_box.o ${LIBS} -o rlebox.new
53
-	${CC} ${CFLAGS} rlebox.c rle_box.o ${LIBS} -o rlebox.new
54
+	${CC} ${LDFLAGS} ${CFLAGS} rlebox.c rle_box.o ${LIBS} -o rlebox.new
54
+	$(CC) $(LDFLAGS) $(CFLAGS) rlebox.c rle_box.o $(LIBS) -o rlebox.new
55
 	mv rlebox.new rlebox.out
55
 	mv rlebox.new rlebox.out
56
 
56
 
57
 # rleClock has it's own directory, must be built special
57
 # rleClock has it's own directory, must be built special
Lines 145-151 Link Here
145
 
145
 
146
 rletogif.out: ${OBJ}
146
 rletogif.out: ${OBJ}
147
-	${CC} ${CFLAGS} ${OBJ} ${LIBS} -o rletogif.new
147
-	${CC} ${CFLAGS} ${OBJ} ${LIBS} -o rletogif.new
148
+	${CC} ${CFLAGS} ${LDFLAGS} ${OBJ} ${LIBS} -o rletogif.new
148
+	$(CC) $(CFLAGS) $(LDFLAGS) $(OBJ) $(LIBS) -o rletogif.new
149
 	mv rletogif.new rletogif.out
149
 	mv rletogif.new rletogif.out
150
 
150
 
151
 # Incremental install, copies executable to DEST dir.
151
 # Incremental install, copies executable to DEST dir.
152
--- urt/get/getx11/makefile.src
153
+++ urt/get/getx11/makefile.src
154
@@ -47,7 +47,7 @@
155
 
156
 # getx11 - read RLE file to X11 display
157
 getx11.out: $(X_O_FILES) 
158
-	${CC} $(CFLAGS) $(X_O_FILES) $(LIBS) -o getx11.new
159
+	$(CC) $(LDFLAGS) $(CFLAGS) $(X_O_FILES) $(LIBS) -o getx11.new
160
 	mv getx11.new getx11.out
161
 
162
 # Make prototypes.h and fn_decls.h.  Only happens if HAVE_CPROTO is defined.

Return to bug 293578