mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 10:44:56 +00:00
Bug 1601590 - Undef _FORTIFY_SOURCE to fix build with --warnings-on-errors. r=glandium
This is required on some systems such as Fedora to allow building with -O0 together with --warnings-as-errors due to a check in /usr/include/features.h Differential Revision: https://phabricator.services.mozilla.com/D56696 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
dc8a21948c
commit
97827bec40
@ -13,6 +13,11 @@
|
||||
// will stop the post-processing (which includes stack fixing) from working
|
||||
// correctly.
|
||||
|
||||
// This is required on some systems such as Fedora to allow
|
||||
// building with -O0 together with --warnings-as-errors due to
|
||||
// a check in /usr/include/features.h
|
||||
#undef _FORTIFY_SOURCE
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
Loading…
Reference in New Issue
Block a user