Declare use of non-standard library calls (mostly asprintf) with
authorZdeněk Salvet <salvet@ics.muni.cz>
Mon, 29 Nov 2004 21:50:07 +0000 (21:50 +0000)
committerZdeněk Salvet <salvet@ics.muni.cz>
Mon, 29 Nov 2004 21:50:07 +0000 (21:50 +0000)
-D_GNU_SOURCE

org.glite.lb.client/Makefile
org.glite.lb.common/Makefile
org.glite.lb.server/Makefile

index 2759f87..873ba1d 100644 (file)
@@ -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}
index 95a574e..5c65e64 100644 (file)
@@ -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
index f8b3845..86798c4 100644 (file)
@@ -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