rpms/synce/devel synce.spec,1.17,1.18

Andreas Bierfert (awjb) fedora-extras-commits at redhat.com
Fri Feb 17 08:09:44 UTC 2006


Author: awjb

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

Modified Files:
	synce.spec 
Log Message:
- Fix some ugly stuff
- Add no-stack-protector where it is needed and not globally



Index: synce.spec
===================================================================
RCS file: /cvs/extras/rpms/synce/devel/synce.spec,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- synce.spec	17 Feb 2006 07:53:36 -0000	1.17
+++ synce.spec	17 Feb 2006 08:09:32 -0000	1.18
@@ -1,7 +1,3 @@
-%define __global_cflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
--fno-stack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=pentium4 
--fasynchronous-unwind-tables
-
 Name:           synce
 Version:        0.9.1
 Release:        7%{?dist}
@@ -51,8 +47,8 @@
 %build
 # build libsynce
 cd synce-libsynce-%{version}
-%configure --disable-static
-make LDFLAGS="-lgcc"
+%configure --disable-static --disable-rpath
+make
 SYNCEINC="$(pwd)/lib"
 SYNCELIB="$(pwd)/lib/.libs"
 cd ..
@@ -69,7 +65,8 @@
 %configure \
     --with-libsynce-include="${SYNCEINC}" \
     --with-libsynce-lib="${SYNCELIB}" \
-    --disable-static
+    --disable-static \
+    --disable-rpath
 make LDFLAGS="-L${SYNCEINC}"
 RAPI2INC="$(pwd)/src"
 RAPI2LIB="$(pwd)/src/.libs"
@@ -94,9 +91,10 @@
     --with-librapi2-lib="${RAPI2LIB}" \
     --with-libmimedir-include="${MIMEDIRINC}" \
     --with-libmimedir-lib="${MIMEDIRLIB}" \
-    --disable-static
+    --disable-static \
+    --disable-rpath
 
-make LDFLAGS="-L${SYNCEINC} -L${RAPI2INC} -L${MIMEDIRLIB}"
+make LDFLAGS="-L${SYNCEINC} -L${RAPI2INC} -L${MIMEDIRLIB}" CFLAGS=-"fno-stack-protector"
 cd ..
 # build the serial support
 cd synce-serial-%{version}




More information about the fedora-extras-commits mailing list