summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2014-08-12 11:15:14 -0400
committerSteve Dickson <steved@redhat.com>2014-08-12 14:39:55 -0400
commit44c6ecfe1a1f3b6dad2836e61e288ca66ba854b4 (patch)
tree274c28170cb402e5d7dee3852854fb4e437301d9
parent1d37526144773e763f52e32718f354626bb708bb (diff)
downloadcthon04-44c6ecfe1a1f3b6dad2836e61e288ca66ba854b4.tar.gz
cthon04-44c6ecfe1a1f3b6dad2836e61e288ca66ba854b4.tar.xz
cthon04-44c6ecfe1a1f3b6dad2836e61e288ca66ba854b4.zip
Added -DHAVE_SOCKLEN_T to default Linux CFLAGS
To eliminate passing incompatible pointer type warnings define HAVE_SOCKLEN_T since Linux has a socklen_t type Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r--tests.init8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests.init b/tests.init
index 379ff4c..6837272 100644
--- a/tests.init
+++ b/tests.init
@@ -207,7 +207,13 @@ LOCKTESTS=tlock
# Use with Linux 2.4 / GNU libc 2.2
#CFLAGS=`echo -DLINUX -DGLIBC=22 -DMMAP -DSTDARG -fwritable-strings`
-CFLAGS=`echo -DLINUX -DGLIBC=22 -DMMAP -DSTDARG`
+#LIBS=`echo -lnsl`
+#MOUNT=/bin/mount
+#UMOUNT=/bin/umount
+#LOCKTESTS=`echo tlocklfs tlock64`
+
+# Use with Linux 2.6 / gcc 4.0
+CFLAGS=`echo -DLINUX -DHAVE_SOCKLEN_T -DGLIBC=22 -DMMAP -DSTDARG`
LIBS=`echo -lnsl`
MOUNT=/bin/mount
UMOUNT=/bin/umount