summaryrefslogtreecommitdiffstats
path: root/media/libpng/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'media/libpng/moz.build')
-rw-r--r--media/libpng/moz.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/media/libpng/moz.build b/media/libpng/moz.build
index 9146a8d5a..782aa93df 100644
--- a/media/libpng/moz.build
+++ b/media/libpng/moz.build
@@ -51,3 +51,6 @@ FINAL_LIBRARY = 'gkmedias'
# We allow warnings for third-party code that can be updated from upstream.
ALLOW_COMPILER_WARNINGS = True
+
+if CONFIG['GNU_CC']
+ CFLAGS += ['std=c89']