mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 16:25:38 +00:00
Bug 1539036 - Mark JSAPI headers as "system headers". r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D24846 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
b3ca39b66b
commit
4ecb2fb6f0
@ -8,4 +8,7 @@ Description: The Mozilla library for JavaScript
|
||||
Version: @MOZILLA_VERSION@
|
||||
@PKGCONF_REQUIRES_PRIVATE@
|
||||
Libs: -L${libdir} -l@JS_LIBRARY_NAME@
|
||||
Cflags: -include ${includedir}/@JS_LIBRARY_NAME@/js/RequiredDefines.h -I${includedir}/@JS_LIBRARY_NAME@
|
||||
# Use -isystem for includes rather than -I, to mark them as "system headers"
|
||||
# that don't generate warning diagnostics. For justification, see
|
||||
# https://bugzilla.mozilla.org/show_bug.cgi?id=1539036
|
||||
Cflags: -include ${includedir}/@JS_LIBRARY_NAME@/js/RequiredDefines.h -isystem ${includedir}/@JS_LIBRARY_NAME@
|
||||
|
Loading…
Reference in New Issue
Block a user