diff --git a/dom/security/moz.build b/dom/security/moz.build index 34b3e5d529d..1577c17512b 100644 --- a/dom/security/moz.build +++ b/dom/security/moz.build @@ -37,5 +37,6 @@ LOCAL_INCLUDES += [ '/netwerk/base', ] -CFLAGS += ['-Wshadow'] -CXXFLAGS += ['-Wshadow'] +if CONFIG['GNU_CC']: + CFLAGS += ['-Wshadow'] + CXXFLAGS += ['-Wshadow']