[PATCH 2/2] remove -fwritable-strings for gcc 4.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Jim Rees <rees@xxxxxxxxx>
---
 tests.init |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/tests.init b/tests.init
index 69b51bf..5d93eb5 100644
--- a/tests.init
+++ b/tests.init
@@ -210,6 +210,13 @@ LOCKTESTS=`echo tlocklfs tlock64`
 #UMOUNT=/bin/umount
 #LOCKTESTS=`echo tlocklfs tlock64`
 
+# Use with Linux 2.6 / gcc 4.0
+CFLAGS=`echo -DLINUX -DGLIBC=22 -DMMAP -DSTDARG`
+LIBS=`echo -lnsl`
+MOUNT=/bin/mount
+UMOUNT=/bin/umount
+LOCKTESTS=`echo tlocklfs tlock64`
+
 # Use with Linux if your distro doesn't provide a "cc".
 #CC=gcc
 
-- 
1.7.4.1

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux