SPECS: libpng1.spec - fixed build on x86_64

qboosh qboosh at pld-linux.org
Sun Dec 3 17:50:08 CET 2006


Author: qboosh                       Date: Sun Dec  3 16:50:08 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixed build on x86_64

---- Files affected:
SPECS:
   libpng1.spec (1.27 -> 1.28) 

---- Diffs:

================================================================
Index: SPECS/libpng1.spec
diff -u SPECS/libpng1.spec:1.27 SPECS/libpng1.spec:1.28
--- SPECS/libpng1.spec:1.27	Fri Dec  1 11:47:20 2006
+++ SPECS/libpng1.spec	Sun Dec  3 17:50:03 2006
@@ -128,7 +128,11 @@
 	prefix=%{_prefix} \
 	LIBPATH=%{_libdir} \
 	CC="%{__cc}" \
+%ifarch %{x8664}
+	OPT_FLAGS="%{rpmcflags} -DPNG_NO_MMX_CODE"
+%else
 	OPT_FLAGS="%{rpmcflags}"
+%endif
 
 %{__make} -C contrib/pngminus -f makefile.std \
 	LIBPATH=%{_libdir} \
@@ -181,6 +185,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.28  2006/12/03 16:50:03  qboosh
+- fixed build on x86_64
+
 Revision 1.27  2006/12/01 10:47:20  qboosh
 - updated to 1.0.22, updated SONAME patch
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libpng1.spec?r1=1.27&r2=1.28&f=u



More information about the pld-cvs-commit mailing list