SPECS: changepassword.spec - use optflags, asm on x86
qboosh
qboosh at pld-linux.org
Sat May 12 11:09:07 CEST 2007
Author: qboosh Date: Sat May 12 09:09:07 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- use optflags, asm on x86
---- Files affected:
SPECS:
changepassword.spec (1.30 -> 1.31)
---- Diffs:
================================================================
Index: SPECS/changepassword.spec
diff -u SPECS/changepassword.spec:1.30 SPECS/changepassword.spec:1.31
--- SPECS/changepassword.spec:1.30 Sat May 12 03:38:43 2007
+++ SPECS/changepassword.spec Sat May 12 11:09:02 2007
@@ -53,11 +53,19 @@
--disable-squidpasswd
%endif
-cd des
-%{__make}
-install libdes.a ../smbencrypt
-cd ..
-%{__make}
+%{__make} -C des \
+ CC="%{__cc}" \
+%ifarch %{ix86}
+ DES_INC="asm/dx86-elf.o asm/yx86-elf.o" \
+ CFLAG="%{rpmcflags} -DELF"
+%else
+ CFLAG="%{rpmcflags}"
+%endif
+install des/libdes.a smbencrypt
+
+%{__make} \
+ CC="%{__cc}" \
+ CFLAGS="%{rpmcflags}"
%install
rm -rf $RPM_BUILD_ROOT
@@ -83,6 +91,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.31 2007/05/12 09:09:02 qboosh
+- use optflags, asm on x86
+
Revision 1.30 2007/05/12 01:38:43 lkrotowski
- using macro instead of plain make
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/changepassword.spec?r1=1.30&r2=1.31&f=u
More information about the pld-cvs-commit
mailing list