diff options
author | Steve Dickson <steved@redhat.com> | 2014-08-12 11:15:14 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2014-08-12 14:39:55 -0400 |
commit | 44c6ecfe1a1f3b6dad2836e61e288ca66ba854b4 (patch) | |
tree | 274c28170cb402e5d7dee3852854fb4e437301d9 | |
parent | 1d37526144773e763f52e32718f354626bb708bb (diff) | |
download | cthon04-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.init | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 |