Author: tommat                       Date: Sat Feb 10 20:23:25 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pass CFLAGS to linker, fixing build on multilib

---- Files affected:
SPECS:
   unzip.spec (1.51 -> 1.52) 

---- Diffs:

================================================================
Index: SPECS/unzip.spec
diff -u SPECS/unzip.spec:1.51 SPECS/unzip.spec:1.52
--- SPECS/unzip.spec:1.51       Thu Sep 21 01:14:06 2006
+++ SPECS/unzip.spec    Sat Feb 10 21:23:19 2007
@@ -103,14 +103,15 @@
 %build
 %{__make} unzips \
        CC="%{__cc}" \
-       LD="%{__cc}" \
        AS="%{__cc}" \
 %ifarch %{ix86}
        CF="%{rpmcflags} -I. -Wall -DASM_CRC -DLARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64" \
        AF="-Di386 %{rpmldflags}" \
-       CRC32="crc_gcc"
+       CRC32="crc_gcc" \
+       LD="%{__cc} %{rpmcflags} -I. -Wall -DASM_CRC -DLARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64"
 %else
-       CF="%{rpmcflags} -I. -Wall"
+       CF="%{rpmcflags} -I. -Wall" \
+       LD="%{__cc} %{rpmcflags} -I. -Wall" 
 %endif
 
 %install
@@ -140,6 +141,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.52  2007/02/10 20:23:19  tommat
+- pass CFLAGS to linker, fixing build on multilib
+
 Revision 1.51  2006/09/20 23:14:06  glen
 - check-files cleanup, rel 4
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/unzip.spec?r1=1.51&r2=1.52&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to