Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 5cab2956c9d3cf7dd5e20bd10df07057ed4610ac..7a3d4b5cd12835f5b292de87ab3bf94e1b59632d 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -3602,6 +3602,13 @@ |
], |
}, |
}], |
+ ['os_posix==1 and OS=="linux"', { |
+ 'defines': [ |
+ '_LARGEFILE_SOURCE', |
+ '_LARGEFILE64_SOURCE', |
+ '_FILE_OFFSET_BITS=64', |
+ ], |
+ }], |
['os_posix==1 and OS!="mac" and OS!="ios"', { |
'target_defaults': { |
# Enable -Werror by default, but put it in a variable so it can |
@@ -3689,12 +3696,6 @@ |
'-fomit-frame-pointer', |
], |
}], |
- ['OS!="android"', { |
- 'defines': [ |
- '_LARGEFILE_SOURCE', |
- '_LARGEFILE64_SOURCE', |
- ], |
- }], |
['OS=="linux" and target_arch=="ia32"', { |
'ldflags': [ |
'-Wl,--no-as-needed', |