From f950a90b27daf3c3f724d432304a8695e3359ec2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zden=C4=9Bk=20Salvet?= Date: Mon, 29 Nov 2004 21:50:07 +0000 Subject: [PATCH] Declare use of non-standard library calls (mostly asprintf) with -D_GNU_SOURCE --- org.glite.lb.client/Makefile | 3 ++- org.glite.lb.common/Makefile | 1 + org.glite.lb.server/Makefile | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) 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 -- 1.8.2.3