[packages/crossnacl-gcc] force -D_FILE_OFFSET_BITS=64 to get large file access

glen glen at pld-linux.org
Tue Jan 1 17:45:53 CET 2013


commit fb2c96aee82a5e62c7301c23d2eb0b9a28e198ea
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Jan 1 18:45:34 2013 +0200

    force -D_FILE_OFFSET_BITS=64 to get large file access
    
    http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2013-January/023380.html

 crossnacl-gcc.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/crossnacl-gcc.spec b/crossnacl-gcc.spec
index 065b520..2aef02f 100644
--- a/crossnacl-gcc.spec
+++ b/crossnacl-gcc.spec
@@ -6,7 +6,7 @@
 Summary:	Various compilers (C, C++) for NaCl
 Name:		crossnacl-gcc
 Version:	4.4.3
-Release:	8.git%{gitver}
+Release:	9.git%{gitver}
 License:	GPL v3+ and GPL v3+ with exceptions and GPL v2+ with exceptions
 Group:		Development/Languages
 Source0:	nacl-gcc-%{version}-git%{gitver}.tar.xz
@@ -76,7 +76,7 @@ rm -rf obj-%{target}
 install -d obj-%{target}
 cd obj-%{target}
 
-OPT_FLAGS="%{rpmcflags}"
+OPT_FLAGS="%{rpmcflags} -D_FILE_OFFSET_BITS=64"
 OPT_FLAGS=$(echo "$OPT_FLAGS" | sed -e 's/-m64//g;s/-m32//g;s/-m31//g')
 %ifarch %{ix86}
 OPT_FLAGS=$(echo "$OPT_FLAGS" | sed -e 's/-march=i.86//g')
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/crossnacl-gcc.git/commitdiff/fb2c96aee82a5e62c7301c23d2eb0b9a28e198ea



More information about the pld-cvs-commit mailing list