diff mbox

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

Message ID 41c8992e9446c712542515a85a8b4abb83476a9d.1308241259.git.rees@umich.edu (mailing list archive)
State New, archived
Headers show

Commit Message

Jim Rees June 16, 2011, 4:23 p.m. UTC
Signed-off-by: Jim Rees <rees@umich.edu>
---
 tests.init |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

Comments

Jim Rees June 16, 2011, 4:27 p.m. UTC | #1
Jim Rees wrote:

  Signed-off-by: Jim Rees <rees@umich.edu>
  ---
   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

I guess those lines should actually be commented out.
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Steve Dickson June 27, 2011, 4:23 p.m. UTC | #2
On 06/16/2011 12:23 PM, Jim Rees wrote:
> Signed-off-by: Jim Rees <rees@umich.edu>
> ---
>  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
>  
Committed on the git://linux-nfs.org/~steved/exports/cthon04 tree

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

Patch

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