summaryrefslogtreecommitdiffstats
path: root/waftools/detections
diff options
context:
space:
mode:
Diffstat (limited to 'waftools/detections')
-rw-r--r--waftools/detections/compiler.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/waftools/detections/compiler.py b/waftools/detections/compiler.py
index 5916475307..c382afcab7 100644
--- a/waftools/detections/compiler.py
+++ b/waftools/detections/compiler.py
@@ -18,9 +18,7 @@ def __test_and_add_flags__(ctx, flags):
def __add_generic_flags__(ctx):
ctx.env.CFLAGS += ["-D_ISOC99_SOURCE", "-D_GNU_SOURCE",
- "-D_LARGEFILE_SOURCE", "-D_FILE_OFFSET_BITS=64",
- "-D_LARGEFILE64_SOURCE",
- "-Wall"]
+ "-D_FILE_OFFSET_BITS=64", "-Wall"]
if ctx.check_cc(cflags="-std=c11", mandatory=False):
ctx.env.CFLAGS += ["-std=c11"]