[4.0] stat syscall: Support large file more than 2GB.
[platform/upstream/ninja.git] / packaging / ninja.spec
index 82826ca..eeb1059 100644 (file)
@@ -24,6 +24,9 @@ cp %{SOURCE1001} .
 
 
 %build
+# Support large file more than 2GB. (e.g., for stat syscall).
+export CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1"
+
 python ./bootstrap.py 
 
 %install