SPECS (PPCRCD): splashutils.spec - pass rpmldflags; libs after obj...

sparky sparky at pld-linux.org
Tue Aug 1 02:17:58 CEST 2006


Author: sparky                       Date: Tue Aug  1 00:17:58 2006 GMT
Module: SPECS                         Tag: PPCRCD
---- Log message:
- pass rpmldflags; libs after objects when linking

---- Files affected:
SPECS:
   splashutils.spec (1.19.2.2 -> 1.19.2.3) 

---- Diffs:

================================================================
Index: SPECS/splashutils.spec
diff -u SPECS/splashutils.spec:1.19.2.2 SPECS/splashutils.spec:1.19.2.3
--- SPECS/splashutils.spec:1.19.2.2	Fri Jun 23 16:12:35 2006
+++ SPECS/splashutils.spec	Tue Aug  1 02:17:53 2006
@@ -36,7 +36,7 @@
 		cmd.o common.o list.o effects.o)
 
 splash_helper:	$(K_OBJS)
-	$(CC) $(LDFLAGS) $(LDLIBS) -o $@ $^
+	$(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS)
 
 kernel/%.o:	%.c config.h splash.h
 	$(CC) $(CFLAGS) -DTARGET_KERNEL -c -o $@ $<
@@ -45,7 +45,7 @@
 	effects.o
 
 splash_util:	$(OBJS)
-	$(CC) $(LDFLAGS) $(LDLIBS) -o $@ $+
+	$(CC) $(LDFLAGS) -o $@ $+ $(LDLIBS)
 
 %.o:	%.c config.h splash.h
 	$(CC) $(CFLAGS) -DPKG_VERSION=\"$(PKG_VERSION)\" -c -o $@ $<
@@ -66,6 +66,7 @@
 mkdir kernel
 %{__make} \
 	CC="%{__cc}" \
+	LDFLAGS="%{rpmldflags}" \
 	CFLAGS="%{rpmcflags}"
 
 %install
@@ -90,6 +91,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.19.2.3  2006/08/01 00:17:53  sparky
+- pass rpmldflags; libs after objects when linking
+
 Revision 1.19.2.2  2006/06/23 14:12:35  sparky
 - added jpeg_scale patch, so i will not have to provide separated image for
   each resolution
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/splashutils.spec?r1=1.19.2.2&r2=1.19.2.3&f=u



More information about the pld-cvs-commit mailing list