rpms/openldap/devel openldap.spec,1.115,1.116

Jan Šafránek (jsafrane) fedora-extras-commits at redhat.com
Fri Feb 8 16:03:27 UTC 2008


Author: jsafrane

Update of /cvs/pkgs/rpms/openldap/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14200

Modified Files:
	openldap.spec 
Log Message:
Define _GNU_SOURCE to fix compilation with new glibc/gcc


Index: openldap.spec
===================================================================
RCS file: /cvs/pkgs/rpms/openldap/devel/openldap.spec,v
retrieving revision 1.115
retrieving revision 1.116
diff -u -r1.115 -r1.116
--- openldap.spec	8 Feb 2008 14:13:27 -0000	1.115
+++ openldap.spec	8 Feb 2008 16:02:56 -0000	1.116
@@ -229,7 +229,7 @@
     LDFLAGS="$OPENSSL_LDFLAGS" ; export LDFLAGS
 fi
 CPPFLAGS="-I${dbdir}/include $OPENSSL_CPPFLAGS" ; export CPPFLAGS
-CFLAGS="$CPPFLAGS $RPM_OPT_FLAGS -D_REENTRANT -fPIC"; export CFLAGS
+CFLAGS="$CPPFLAGS $RPM_OPT_FLAGS -D_REENTRANT -fPIC -D_GNU_SOURCE"; export CFLAGS
 LDFLAGS="-L${dbdir}/%{_lib} $OPENSSL_LDFLAGS" ; export LDFLAGS
 LD_LIBRARY_PATH=${dbdir}/%{_lib}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}; export LD_LIBRARY_PATH
 




More information about the fedora-extras-commits mailing list