From: Zdeněk Salvet Date: Mon, 29 Nov 2004 21:50:07 +0000 (+0000) Subject: Declare use of non-standard library calls (mostly asprintf) with X-Git-Tag: glite-deployment-lb_R_0_1_0~82 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=f950a90b27daf3c3f724d432304a8695e3359ec2;p=jra1mw.git Declare use of non-standard library calls (mostly asprintf) with -D_GNU_SOURCE --- diff --git a/org.glite.lb.client/Makefile b/org.glite.lb.client/Makefile index 2759f87..873ba1d 100644 --- a/org.glite.lb.client/Makefile +++ b/org.glite.lb.client/Makefile @@ -69,7 +69,8 @@ CFLAGS:=${DEBUG} \ -I${glite_location}/include \ -I${expat_prefix}/include \ -I${ares_prefix}/include \ - ${COVERAGE_FLAGS} + ${COVERAGE_FLAGS} \ + -D_GNU_SOURCE CXXFLAGS:=${CFLAGS} diff --git a/org.glite.lb.common/Makefile b/org.glite.lb.common/Makefile index 95a574e..5c65e64 100644 --- a/org.glite.lb.common/Makefile +++ b/org.glite.lb.common/Makefile @@ -38,6 +38,7 @@ CFLAGS:=${DEBUG} -I${top_srcdir}/src -I${top_srcdir}/interface \ -I${expat_prefix}/include \ -I${ares_prefix}/include \ ${COVERAGE_FLAGS} \ + -D_GNU_SOURCE \ -DDATAGRID_EXTENSION # We must follow major version changes of org.glite.lb.client-interface due to diff --git a/org.glite.lb.server/Makefile b/org.glite.lb.server/Makefile index f8b3845..86798c4 100644 --- a/org.glite.lb.server/Makefile +++ b/org.glite.lb.server/Makefile @@ -64,7 +64,8 @@ CFLAGS:= -DNO_VOMS -DNO_GACL \ ${COVERAGE_FLAGS} \ -I${mysql_prefix}/include -I${mysql_prefix}/include/mysql \ -I${globus_prefix}/include/${nothrflavour} \ - -I${gridsite_prefix}/include -I${globus_prefix}/include/${nothrflavour}/openssl + -I${gridsite_prefix}/include -I${globus_prefix}/include/${nothrflavour}/openssl \ + -D_GNU_SOURCE TEST_LIBS:=-L${cppunit}/lib -lcppunit