rpms/synce/devel synce.spec,1.12,1.13

Andreas Bierfert (awjb) fedora-extras-commits at redhat.com
Sat Nov 12 08:23:18 UTC 2005


Author: awjb

Update of /cvs/extras/rpms/synce/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19197

Modified Files:
	synce.spec 
Log Message:
- another try for devel



Index: synce.spec
===================================================================
RCS file: /cvs/extras/rpms/synce/devel/synce.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- synce.spec	28 Sep 2005 10:22:24 -0000	1.12
+++ synce.spec	12 Nov 2005 08:23:15 -0000	1.13
@@ -1,3 +1,5 @@
+%define __global_cflags -O2 -g -pipe -fexceptions 
+
 Name:           synce
 Version:        0.9.1
 Release:        4%{?dist}
@@ -56,7 +58,7 @@
     --with-libsynce-include="${SYNCEINC}" \
     --with-libsynce-lib="${SYNCELIB}" \
     --disable-static
-make LDFLAGS="-L${SYNCEINC} -lgcc"
+make LDFLAGS="-L${SYNCEINC}"
 cd ..
 # build librapi2
 cd synce-librapi2-%{version}
@@ -64,7 +66,7 @@
     --with-libsynce-include="${SYNCEINC}" \
     --with-libsynce-lib="${SYNCELIB}" \
     --disable-static
-make LDFLAGS="-L${SYNCEINC} -lgcc"
+make LDFLAGS="-L${SYNCEINC}"
 RAPI2INC="$(pwd)/src"
 RAPI2LIB="$(pwd)/src/.libs"
 cd ..
@@ -89,11 +91,8 @@
     --with-libmimedir-include="${MIMEDIRINC}" \
     --with-libmimedir-lib="${MIMEDIRLIB}" \
     --disable-static
-# don't want stack protector on this one
-%{__perl} -pi -e 's/-fstack-protector/-fno-stack-protector/;' \
-Makefile src/Makefile lib/Makefile man/Makefile
 
-make LDFLAGS="-L${SYNCEINC} -L${RAPI2INC} -L${MIMEDIRLIB} -lgcc"
+make LDFLAGS="-L${SYNCEINC} -L${RAPI2INC} -L${MIMEDIRLIB}"
 cd ..
 # build the serial support
 cd synce-serial-%{version}




More information about the fedora-extras-commits mailing list